Releases: anuragsoni/shuttle_http
Releases · anuragsoni/shuttle_http
0.12.0
0.10.1
CHANGES:
- Accept a
(string * string) list
as http headers. - Add a
Body.to_string
for reading entire bodies as string.
0.10.0
CHANGES:
- Adapt to changes in async_kernel 0.16
- Only support OCaml 4.14 or newer
- Only support HTTP codec in the library
0.9.4
CHANGES:
- Allow setting an upper bound on buffer size.
0.9.3
CHANGES:
- Allow setting an upper bound on buffer size.
0.9.2
CHANGES:
- Allow creating ssl encrypted servers
0.9.1
CHANGES:
- Add client that supports keep-alive.
- Add http clients that leverage Async_kernel's persistent connections.
0.9.0
CHANGES:
- Forward ssl connection details to shuttle_ssl server handlers
- Remove listen and with_connection from shuttle_ssl. Use upgrade_server_connection and upgrade_client_connection with the regular Connection module provided within Shuttle.
- Allow accessing the underlying buffer capacity for channels
- Add helper method that creates server connections using inet sockets
- Reliably schedule stream cleanup for all streaming server responses without forcing users to use any special functions to create the response
- Add one-shot http client
- Setup tcp server within http server module
0.8.1
CHANGES:
- Same content as 0.8.0, but it re-works the integration tests to not spawn external processes, and adds a constraint on shuttle_http to only have it available on 64 bit systems.
0.8.0
CHANGES:
- Revive the http codec as a new shuttle_http package
- Http codec supports a timeout for reading Request headers
- Server module reports a deferred that resolves when the server context closes. This can be usedul to register cleanup actions that should run when a server connection is torn down.
- Using the utility methods within the Server module to create responses ensures that streams are torn down if the server connection is closed before a stream was fully consumed.