package dream-httpaf

  1. Overview
  2. Docs
Internal: shared http/af stack for Dream (server) and Hyper (client)

Install

Dune Dependency

Authors

Maintainers

Sources

dream-1.0.0-alpha6.tar.gz
sha256=8d3b6344c0e175aca628b3d5bb8ee58265e8c1074fc2d40d63f136fef83daf90

doc/dream-httpaf.dream-httpaf_/Dream_httpaf_/Serialize/index.html

Module Dream_httpaf_.SerializeSource

Sourceval write_space : Faraday.t -> unit
Sourceval write_crlf : Faraday.t -> unit
Sourceval write_version : Faraday.t -> Version.t -> unit
Sourceval write_method : Faraday.t -> [< `CONNECT | `DELETE | `GET | `HEAD | `OPTIONS | `Other of string | `POST | `PUT | `TRACE ] -> unit
Sourceval write_status : Faraday.t -> [< `Accepted | `Bad_gateway | `Bad_request | `Code of int | `Conflict | `Continue | `Created | `Enhance_your_calm | `Expectation_failed | `Forbidden | `Found | `Gateway_timeout | `Gone | `Http_version_not_supported | `I_m_a_teapot | `Internal_server_error | `Length_required | `Method_not_allowed | `Moved_permanently | `Multiple_choices | `Network_authentication_required | `No_content | `Non_authoritative_information | `Not_acceptable | `Not_found | `Not_implemented | `Not_modified | `OK | `Partial_content | `Payload_too_large | `Payment_required | `Precondition_failed | `Precondition_required | `Proxy_authentication_required | `Range_not_satisfiable | `Request_header_fields_too_large | `Request_timeout | `Reset_content | `See_other | `Service_unavailable | `Switching_protocols | `Temporary_redirect | `Too_many_requests | `Unauthorized | `Unsupported_media_type | `Upgrade_required | `Uri_too_long | `Use_proxy ] -> unit
Sourceval write_headers : Faraday.t -> Headers.t -> unit
Sourceval write_request : Faraday.t -> Request.t -> unit
Sourceval write_response : Faraday.t -> Response.t -> unit
Sourceval write_chunk_length : Faraday.t -> int -> unit
Sourceval write_string_chunk : Faraday.t -> string -> unit
Sourceval write_bigstring_chunk : Faraday.t -> Bigstringaf.t -> unit
Sourceval schedule_bigstring_chunk : Faraday.t -> Bigstringaf.t -> unit
Sourcemodule Writer : sig ... end
OCaml

Innovation. Community. Security.