From 2d023e5cf9d880349686c137e530581765e65891 Mon Sep 17 00:00:00 2001 From: Adelyn Breedlove Date: Thu, 17 Jan 2019 00:01:54 -0700 Subject: more mlis --- lib/opcode.mli | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 lib/opcode.mli (limited to 'lib/opcode.mli') diff --git a/lib/opcode.mli b/lib/opcode.mli new file mode 100644 index 0000000..e07f82e --- /dev/null +++ b/lib/opcode.mli @@ -0,0 +1,18 @@ +type t = + | DISPATCH + | HEARTBEAT + | IDENTIFY + | STATUS_UPDATE + | VOICE_STATE_UPDATE + | RESUME + | RECONNECT + | REQUEST_GUILD_MEMBERS + | INVALID_SESSION + | HELLO + | HEARTBEAT_ACK + +exception Invalid_Opcode of int + +val to_int : t -> int +val from_int : int -> t +val to_string : t -> string \ No newline at end of file -- cgit v1.2.3