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-alpha5.tar.gz
sha256=05bc7f6aff94893c151f3a5bcdee3328920c69b3763fac49ba27348dc7745901
md5=de6f6908ae899c9e85f2c751a0263932

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 payload : t -> Payload.t
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.