package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
exception Closed_channel
exception Buffer_underrun
exception Command_failure of Unix.process_status
class type rec_in_channel = object ... end
class type raw_in_channel = object ... end
class type rec_out_channel = object ... end
class type raw_out_channel = object ... end
class type raw_io_channel = object ... end
class type compl_in_channel = object ... end
class type in_obj_channel = object ... end
class type compl_out_channel = object ... end
class type out_obj_channel = object ... end
class type io_obj_channel = object ... end
class type trans_out_obj_channel = object ... end
class input_channel : ?onclose:(unit -> unit) -> in_channel -> in_obj_channel
val input_channel : ?onclose:(unit -> unit) -> in_channel -> in_obj_channel
class input_command : string -> in_obj_channel
val input_command : string -> in_obj_channel
class input_string : ?pos:int -> ?len:int -> string -> in_obj_channel
val input_string : ?pos:int -> ?len:int -> string -> in_obj_channel
class input_bytes : ?pos:int -> ?len:int -> Bytes.t -> in_obj_channel
val input_bytes : ?pos:int -> ?len:int -> Bytes.t -> in_obj_channel
class input_memory : ?pos:int -> ?len:int -> Netsys_types.memory -> in_obj_channel
val input_memory : ?pos:int -> ?len:int -> Netsys_types.memory -> in_obj_channel
val input_tstring : ?pos:int -> ?len:int -> Netsys_types.tstring -> in_obj_channel
val create_input_netbuffer : ?keep_data:bool -> Netbuffer.t -> in_obj_channel * (unit -> unit)
val lexbuf_of_in_obj_channel : in_obj_channel -> Lexing.lexbuf
val string_of_in_obj_channel : in_obj_channel -> string
val bytes_of_in_obj_channel : in_obj_channel -> Bytes.t
val lines_of_in_obj_channel : in_obj_channel -> string list
val with_in_obj_channel : in_obj_channel as 'c -> ('c -> 'b) -> 'b
class output_channel : ?onclose:(unit -> unit) -> out_channel -> out_obj_channel
class output_command : ?onclose:(unit -> unit) -> string -> out_obj_channel
class output_buffer : ?onclose:(unit -> unit) -> Buffer.t -> out_obj_channel
class output_netbuffer : ?onclose:(unit -> unit) -> Netbuffer.t -> out_obj_channel
class output_null : ?onclose:(unit -> unit) -> unit -> out_obj_channel
val with_out_obj_channel : out_obj_channel as 'c -> ('c -> 'b) -> 'b
val lift_in : ?eol:string list -> ?buffered:bool -> ?buffer_size:int -> ?pass_through:int -> [ `Raw of raw_in_channel | `Rec of rec_in_channel ] -> in_obj_channel
val lift_out : ?buffered:bool -> ?buffer_size:int -> ?pass_through:int -> [ `Raw of raw_out_channel | `Rec of rec_out_channel ] -> out_obj_channel
class virtual augment_raw_in_channel : object ... end
class lift_rec_in_channel : ?start_pos_in:int -> rec_in_channel -> in_obj_channel
class virtual augment_raw_out_channel : object ... end
class lift_rec_out_channel : ?start_pos_out:int -> rec_out_channel -> out_obj_channel
type input_result = [
  1. | `Data of int
  2. | `Separator of string
]
class type enhanced_raw_in_channel = object ... end
class buffered_raw_in_channel : ?eol:string list -> ?buffer_size:int -> ?pass_through:int -> raw_in_channel -> enhanced_raw_in_channel
class buffered_raw_out_channel : ?buffer_size:int -> ?pass_through:int -> raw_out_channel -> raw_out_channel
class input_descr : ?blocking:bool -> ?start_pos_in:int -> ?fd_style:Netsys.fd_style -> Unix.file_descr -> raw_in_channel
class output_descr : ?blocking:bool -> ?start_pos_out:int -> ?fd_style:Netsys.fd_style -> Unix.file_descr -> raw_out_channel
class socket_descr : ?blocking:bool -> ?start_pos_in:int -> ?start_pos_out:int -> ?fd_style: Netsys.fd_style -> Unix.file_descr -> raw_io_channel
type close_mode = [
  1. | `Commit
  2. | `Rollback
]
val make_temporary_file : ?mode:int -> ?limit:int -> ?tmp_directory:string -> ?tmp_prefix:string -> unit -> string * in_channel * out_channel
class tempfile_trans_channel : ?close_mode:close_mode -> ?tmp_directory:string -> ?tmp_prefix:string -> out_obj_channel -> trans_out_obj_channel
class pipe : ?conv:(Netbuffer.t -> bool -> Netbuffer.t -> unit) -> ?buffer_size:int -> unit -> io_obj_channel
OCaml

Innovation. Community. Security.