package conduit
A network connection establishment library
Install
Dune Dependency
Authors
Maintainers
Sources
conduit-6.2.2.tbz
sha256=58eabf878fe2a5612f5a4f2b484ff749a5febbea3b3ceeb9af43ac235f2b2445
sha512=ab8ee5c2b9d879869181d5dfe111aefeefaa10063d89f21d5fc6023e8a7b83738b246dcadce7d583f5b8e918026cdb73cc66b32a8d5c2f874966fa37d5e67719
doc/src/conduit/conduit.ml.html
Source file conduit.ml
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36
(* * Copyright (c) 2012-2014 Anil Madhavapeddy <anil@recoil.org> * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above * copyright notice and this permission notice appear in all copies. * * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. * *) open Sexplib.Std type endp = [ `TCP of Ipaddr_sexp.t * int (** ipaddr and dst port *) | `Unix_domain_socket of string (** unix file path *) | `Vchan_direct of int * string (** domain id, port *) | `Vchan_domain_socket of string * string | `TLS of string * endp (** wrap in a TLS channel, [hostname,endp] *) | `Unknown of string (** failed resolution *) ] [@@deriving sexp] (** The resolver will return an [endp], which the Conduit backend must interpret to make a connection. *) module type IO = sig type +'a t val ( >>= ) : 'a t -> ('a -> 'b t) -> 'b t val return : 'a -> 'a t end
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>