package nomad

  1. Overview
  2. Docs

Source file handler.ml

1
2
3
4
5
6
7
type response =
  | Close of Atacama.Connection.t
  | Upgrade :
      [ `websocket of Trail.Sock.upgrade_opts * Trail.Sock.t | `h2c ]
      -> response

type t = Atacama.Connection.t -> Trail.Request.t -> response