You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
egithub_webhook:request() should be opaque and have this spec: #{headers => map(), body => map() | binary()}.
Use a function to get the body which always returns a map and if the body in the request is a binary, parses it and returns the new request. Similar to what cowboy does.
The text was updated successfully, but these errors were encountered:
jfacorro
changed the title
Avoid needing to call jiffy:decode/1 more than once per request.
Avoid needing to call jsx:decode/1 more than once per request.
Mar 26, 2020
egithub_webhook:request()
should be opaque and have this spec:#{headers => map(), body => map() | binary()}.
Use a function to get the body which always returns a map and if the body in the request is a binary, parses it and returns the new request. Similar to what cowboy does.
The text was updated successfully, but these errors were encountered: