package krb

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

Protocol_backend.S is a signature of a module providing binprot reading and writing which Protocol uses for initial handshake.

type t
val write_bin_prot_exn : t -> 'a Core.Bin_prot.Type_class.writer -> 'a -> unit

This can raise in certain backends if, e.g. the connection is closed.

val read_bin_prot : t -> 'a Core.Bin_prot.Type_class.reader -> [ `Ok of 'a | `Eof ] Async.Deferred.t
val info : t -> Core.Info.t
val local_inet : t -> Async.Socket.Address.Inet.t
val remote_inet : t -> Async.Socket.Address.Inet.t