Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
The server sends a response to every option request sent by the client (except ExportName
which is followed by a DiskInfo
. This is the header of the response.
type t = {
request_type : Option.t;
The option type requested
*)response_type : OptionResponse.t;
The response code
*)length : int32;
The length of the payload associated with the response
*)}
The header of the response sent by the server in response to the client requesting an option.
val to_string : t -> string
val unmarshal : Cstruct.t -> (t, exn) Result.result
val marshal : Cstruct.t -> t -> unit