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-websocketaf/Dream_websocketaf/Parse/index.html

Module Dream_websocketaf.ParseSource

Sourcetype t = {
  1. headers : Bigstringaf.t;
  2. payload : Payload.t;
}
Sourceval is_fin : t -> bool
Sourceval rsv : t -> int
Sourceval opcode : t -> Websocket.Opcode.t
Sourceval payload_length_of_headers : Bigstringaf.t -> int
Sourceval payload_length : t -> int
Sourceval has_mask : t -> bool
Sourceval mask : t -> int32 option
Sourceval mask_exn : t -> int32
Sourceval length : t -> int
Sourceval payload_offset_of_bits : int -> int
Sourceval payload_offset : ?off:int -> Bigstringaf.t -> int
Sourceval parse_headers : Bigstringaf.t Angstrom.t
Sourceval payload_parser : t -> unit Angstrom.t
Sourcemodule Reader : sig ... end
OCaml

Innovation. Community. Security.