package thrift

  1. Overview
  2. Docs
type t_type =
  1. | T_STOP
  2. | T_VOID
  3. | T_BOOL
  4. | T_BYTE
  5. | T_I08
  6. | T_I16
  7. | T_I32
  8. | T_U64
  9. | T_I64
  10. | T_DOUBLE
  11. | T_STRING
  12. | T_UTF7
  13. | T_STRUCT
  14. | T_MAP
  15. | T_SET
  16. | T_LIST
  17. | T_UTF8
  18. | T_UTF16
val t_type_to_i : t_type -> int
val t_type_of_i : int -> t_type
type message_type =
  1. | CALL
  2. | REPLY
  3. | EXCEPTION
  4. | ONEWAY
val message_type_to_i : message_type -> int
val message_type_of_i : int -> message_type
type exn_type =
  1. | UNKNOWN
  2. | INVALID_DATA
  3. | NEGATIVE_SIZE
  4. | SIZE_LIMIT
  5. | BAD_VERSION
  6. | NOT_IMPLEMENTED
  7. | DEPTH_LIMIT
exception E of exn_type * string
class virtual t : Transport.t -> object ... end
class virtual factory : object ... end
OCaml

Innovation. Community. Security.