package pgx

  1. Overview
  2. Docs
type 'a t
val return : 'a -> 'a t
val (>>=) : 'a t -> ('a -> 'b t) -> 'b t
val catch : (unit -> 'a t) -> (exn -> 'a t) -> 'a t
type in_channel
type out_channel
type sockaddr =
  1. | Unix of string
  2. | Inet of string * int
val open_connection : sockaddr -> (in_channel * out_channel) t
type ssl_config
val upgrade_ssl : [ `Not_supported | `Supported of ?ssl_config:ssl_config -> in_channel -> out_channel -> (in_channel * out_channel) t ]
val output_char : out_channel -> char -> unit t
val output_binary_int : out_channel -> int -> unit t
val output_string : out_channel -> string -> unit t
val flush : out_channel -> unit t
val input_char : in_channel -> char t
val input_binary_int : in_channel -> int t
val really_input : in_channel -> Bytes.t -> int -> int -> unit t
val close_in : in_channel -> unit t
val getlogin : unit -> string t
val debug : string -> unit t
val protect : (unit -> 'a t) -> finally:(unit -> unit t) -> 'a t
module Sequencer : sig ... end
OCaml

Innovation. Community. Security.