-
assigned issue to
Procedures for send data
Issue #14
resolved
The user should be able to make a simple procedure call for sending to to the client.
droplet_http_send(connection : httpStatusCode : header : message); // header and message is optional droplet_http_send(connection : httpStatusCode : headers : message); // message and headers are optional
Though the client should be informed what content to expect (with the Content-Type header) but i would like to add that to the registration of the end point. An end point should register for one or more content types (perhaps only one for starters).
Comments (3)
-
reporter -
reporter - changed status to open
-
reporter - changed status to resolved
added support for sending data by wrapping the mongoose c functions, resolved issue
#14- added send procedure to service module
- added convenience procedures for most basic HTTP return message (like OK or NOT FOUND)
- added constants for content types
- modified example to match API changes
→ <<cset edc3f6018500>>
- Log in to comment