Skip to content

Conversation

@null8626
Copy link
Member

The following pull request is a toned down version of #3. This pull request focuses solely on adding a webhooks wrapper.

Copy link
Collaborator

@velddev velddev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

socket:on('data', function(chunk)
body = body .. chunk

if body:find('\r\n\r\n') then
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are we manually searching through a data payload? 😅 Is there really no better way in lua than a raw tls socket?

Copy link
Member Author

@null8626 null8626 Sep 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Right hahaha! Done.

@null8626
Copy link
Member Author

just use https://github.com/daurnimator/lua-http 😐

This SDK uses the lit package manager, whereas that library uses luarocks which uses an entirely different registry.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants