package dream

  1. Overview
  2. Docs

Parameters

module Io : IO

Signature

type socket = Io.socket
type addr = Io.addr
val create_upgradable_connection_handler : read_buffer_size:int -> protocol:'t Gluten.runtime -> create_protocol:(('reqd -> unit) -> 't) -> request_handler:(addr -> 'reqd Gluten.Server.request_handler) -> addr -> socket -> unit Lwt.t
val create_connection_handler : read_buffer_size:int -> protocol:'t Gluten.runtime -> 't -> addr -> socket -> unit Lwt.t
OCaml

Innovation. Community. Security.