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-alpha3.tar.gz
sha256=f289253109aee39ab912f9f38aa5e7b44e0b4b01fd7d3dd5c407b034c57f01bc
md5=148588e6f584cd9f2438e56da7df2f56

doc/dream-httpaf.websocketaf/Websocketaf/Websocket/Frame/index.html

Module Websocket.FrameSource

Sourcetype t
Sourceval is_fin : t -> bool
Sourceval rsv : t -> int
Sourceval opcode : t -> Opcode.t
Sourceval has_mask : t -> bool
Sourceval mask : t -> int32 option
Sourceval mask_exn : t -> int32
Sourceval payload : t -> Payload.t
Sourceval payload_length : t -> int
Sourceval length : t -> int
Sourceval parse : buf:Bigstringaf.t -> t Angstrom.t
Sourceval payload_parser : t -> unit Angstrom.t
Sourceval serialize_control : ?mask:int32 -> Faraday.t -> opcode:Opcode.standard_control -> unit
Sourceval schedule_serialize : ?mask:int32 -> Faraday.t -> is_fin:bool -> opcode:Opcode.t -> payload:Bigstringaf.t -> off:int -> len:int -> unit
Sourceval serialize_bytes : ?mask:int32 -> Faraday.t -> is_fin:bool -> opcode:Opcode.t -> payload:Bytes.t -> off:int -> len:int -> unit
OCaml

Innovation. Community. Security.