-
Notifications
You must be signed in to change notification settings - Fork 98
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
HTTP subscription response schema #245
Comments
I had to revert that change. I thought that we can do that without conflicting with async functions but we cannot. Basically, if the subscription is So once HTTP subscription is created backing function need to implement that structure, if not error from EG should be returned. |
Makes sense to me that we would require the response structure for http subscriptions. |
To respond to an HTTP event a function needs to return object with following fields:
statusCode
-int
- response status code, default: 200headers
-object
- response headersbody
-string
- response bodyThe text was updated successfully, but these errors were encountered: