package trail

  1. Overview
  2. Docs

Module Trail.ResponseSource

Sourcetype t = {
  1. status : Http.Status.t;
  2. headers : Http.Header.t;
  3. version : Http.Version.t;
  4. body : Riot.Bytestring.t;
}
Sourceval make : Http.Status.t -> ?headers:(string * string) list -> ?version:Http.Version.t -> ?body:Riot.Bytestring.t -> unit -> t
Sourceval pp : Format.formatter -> t -> unit
Sourcetype response = ?headers:(string * string) list -> ?version:Http.Version.t -> ?body:Riot.Bytestring.t -> unit -> t
Sourceval accepted : response
Sourceval already_reported : response
Sourceval bad_gateway : response
Sourceval bad_request : response
Sourceval bandwidth_limit_exceeded : response
Sourceval blocked_by_windows_parental_controls : response
Sourceval checkpoint : response
Sourceval client_closed_request : response
Sourceval conflict : response
Sourceval continue : response
Sourceval created : response
Sourceval enhance_your_calm : response
Sourceval expectation_failed : response
Sourceval failed_dependency : response
Sourceval forbidden : response
Sourceval found : response
Sourceval gateway_timeout : response
Sourceval gone : response
Sourceval http_version_not_supported : response
Sourceval im_a_teapot : response
Sourceval im_used : response
Sourceval insufficient_storage : response
Sourceval internal_server_error : response
Sourceval length_required : response
Sourceval locked : response
Sourceval loop_detected : response
Sourceval method_not_allowed : response
Sourceval moved_permanently : response
Sourceval multi_status : response
Sourceval multiple_choices : response
Sourceval network_authentication_required : response
Sourceval network_connect_timeout_error : response
Sourceval network_read_timeout_error : response
Sourceval no_content : response
Sourceval no_response : response
Sourceval non_authoritative_information : response
Sourceval not_acceptable : response
Sourceval not_extended : response
Sourceval not_found : response
Sourceval not_implemented : response
Sourceval not_modified : response
Sourceval partial_content : response
Sourceval payment_required : response
Sourceval permanent_redirect : response
Sourceval precondition_failed : response
Sourceval precondition_required : response
Sourceval processing : response
Sourceval proxy_authentication_required : response
Sourceval request_entity_too_large : response
Sourceval request_header_fields_too_large : response
Sourceval request_timeout : response
Sourceval request_uri_too_long : response
Sourceval requested_range_not_satisfiable : response
Sourceval reset_content : response
Sourceval retry_with : response
Sourceval see_other : response
Sourceval service_unavailable : response
Sourceval switch_proxy : response
Sourceval switching_protocols : response
Sourceval temporary_redirect : response
Sourceval too_many_requests : response
Sourceval unauthorized : response
Sourceval unprocessable_entity : response
Sourceval unsupported_media_type : response
Sourceval upgrade_required : response
Sourceval use_proxy : response
Sourceval variant_also_negotiates : response
Sourceval wrong_exchange_server : response
OCaml

Innovation. Community. Security.