sig
type channel = int
type transport_type = [ `TCP | `TLS ]
type frame_type =
[ `Body | `Header | `Heartbeat | `Method | `Proto_header ]
type frame = {
frame_type : Netamqp_types.frame_type;
frame_channel : Netamqp_types.channel;
frame_payload : Netxdr_mstring.mstring list;
}
exception Decode_error of string
exception Encode_error of string
exception Not_connected
exception Timeout
exception Method_dropped
exception Unexpected_eof
exception Method_cannot_be_dispatched of Netamqp_types.channel * string
exception Unexpected_frame of Netamqp_types.frame
exception Method_exception of string * int * string
exception Protocol_is_not_supported
exception Protocol_violation of string
val string_of_frame_type : Netamqp_types.frame_type -> string
end