package ez_api

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Source file wsCohttp.ml

1
2
3
4
5
6
7
8
9
10
# 1 "src/server/websocket/cohttp/wsCohttp.dummy.ml"
let first = ref true

let ws _req ?onclose:_ ?step:_ ~react:_ ~bg:_ _id =
  (if !first then (
      first := false;
      Format.eprintf
        "\027[0;31merror: websocket-lwt-unix not installed\027[0m\n\
         try: `opam install calendar websocket-lwt-unix`@."));
  Lwt.return_error `no_ws_library
OCaml

Innovation. Community. Security.