package gremlin

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
val new_connection : Uri.t -> ((unit -> Websocket.Frame.t Lwt.t) * (Websocket.Frame.t -> unit Lwt.t)) Lwt.t
type op_processor =
  1. | Session of string
  2. | Standard
type message_status =
  1. | Response_invalid of response_invalid
  2. | Request_failed of request_failed
  3. | Unmatched_request_id
  4. | Good of Yojson.Basic.t
and request_failed =
  1. | Non_200_status_code of Yojson.Basic.t
and response_invalid =
  1. | No_status_field
  2. | Missing_fields
  3. | Missing_status_fields
  4. | Missing_field of string
  5. | Invalid_status_json_type of Yojson.Basic.t
  6. | Invalid_result_json_type of Yojson.Basic.t
  7. | Invalid_result_field
  8. | Invalid_request_id_json_type of Yojson.Basic.t
  9. | Result_fields_wrong
  10. | Json_parse_failure
  11. | Unknown_json_parse_failure
val print_message_status : message_status -> unit
val run_query : ((unit -> Websocket.Frame.t Lwt.t) * (Websocket.Frame.t -> unit Lwt.t)) Lwt.t -> string -> (Yojson.Basic.t, message_status) result Lwt.t
val run_queries_transaction : ((unit -> Websocket.Frame.t Lwt.t) * (Websocket.Frame.t -> unit Lwt.t)) Lwt.t -> string list -> (Yojson.Basic.t, message_status) result Lwt.t
OCaml

Innovation. Community. Security.