package eliom

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

Module Eliom_comet_baseSource

Sourcetype 'a chan_id
Sourceval string_of_chan_id : 'a chan_id -> string
Sourceval chan_id_of_string : string -> 'a chan_id
Sourcetype position =
  1. | Newest of int
  2. | After of int
  3. | Last of int option
    (*

    None means 'newest channel'

    *)
Sourceval position_of_json : Deriving_Json_lexer.lexbuf -> position
Sourceval position_to_json : Buffer.t -> position -> unit
Sourceval position_json : position Deriving_Json.t
Sourcetype comet_stateless_request = (string * position) array
Sourceval comet_stateless_request_of_json : Deriving_Json_lexer.lexbuf -> comet_stateless_request
Sourceval comet_stateless_request_to_json : Buffer.t -> comet_stateless_request -> unit
Sourceval comet_stateless_request_json : comet_stateless_request Deriving_Json.t
Sourcetype command =
  1. | Register of string
  2. | Close of string
Sourceval command_of_json : Deriving_Json_lexer.lexbuf -> command
Sourceval command_to_json : Buffer.t -> command -> unit
Sourceval command_json : command Deriving_Json.t
Sourcetype comet_stateful_request =
  1. | Request_data of int
  2. | Commands of command array
Sourceval comet_stateful_request_of_json : Deriving_Json_lexer.lexbuf -> comet_stateful_request
Sourceval comet_stateful_request_to_json : Buffer.t -> comet_stateful_request -> unit
Sourceval comet_stateful_request_json : comet_stateful_request Deriving_Json.t
Sourcetype comet_request =
  1. | Stateless of comet_stateless_request
  2. | Stateful of comet_stateful_request
Sourceval comet_request_of_json : Deriving_Json_lexer.lexbuf -> comet_request
Sourceval comet_request_to_json : Buffer.t -> comet_request -> unit
Sourceval comet_request_json : comet_request Deriving_Json.t
Sourcetype 'a channel_data =
  1. | Data of 'a
  2. | Full
  3. | Closed
Sourceval channel_data_to_json : (Buffer.t -> 'a -> unit) -> Buffer.t -> 'a channel_data -> unit
Sourceval channel_data_json : 'a Deriving_Json.t -> 'a channel_data Deriving_Json.t
Sourcetype answer =
  1. | Stateless_messages of (string * (string * int) channel_data) array
  2. | Stateful_messages of (string * string channel_data) array
  3. | Timeout
  4. | State_closed
  5. | Comet_error of string
Sourceval answer_to_json : Buffer.t -> answer -> unit
Sourceval answer_json : answer Deriving_Json.t
Sourcetype comet_service =
  1. | Comet_service : (unit, bool * comet_request, Eliom_service.post, Eliom_service.att, _, _, _, [ `WithoutSuffix ], unit, [ `One of bool ] Eliom_parameter.param_name * [ `One of comet_request Eliom_parameter.ocaml ] Eliom_parameter.param_name, Eliom_service.non_ocaml) Eliom_service.t * command list ref -> comet_service
Sourcetype stateless_kind =
  1. | After_kind of int
  2. | Newest_kind of int
  3. | Last_kind of int option
Sourcetype 'a wrapped_channel =
  1. | Stateful_channel of comet_service * 'a chan_id
  2. | Stateless_channel of comet_service * 'a chan_id * stateless_kind
Sourcetype ('a, 'b) wrapped_bus = 'b wrapped_channel * 'a bus_send_service
OCaml

Innovation. Community. Security.