diff options
| author | Adelyn Breedlove <[email protected]> | 2019-01-17 00:01:54 -0700 |
|---|---|---|
| committer | Adelyn Breedlove <[email protected]> | 2019-01-17 00:01:54 -0700 |
| commit | 2d023e5cf9d880349686c137e530581765e65891 (patch) | |
| tree | 041cb510c57e65fa6732c89e75e346ab17a30f56 /lib/opcode.mli | |
| parent | eliminate all functors in favour of a simpler approach (diff) | |
| download | disml-2d023e5cf9d880349686c137e530581765e65891.tar.xz disml-2d023e5cf9d880349686c137e530581765e65891.zip | |
more mlis
Diffstat (limited to 'lib/opcode.mli')
| -rw-r--r-- | lib/opcode.mli | 18 |
1 files changed, 18 insertions, 0 deletions
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 |