diff options
| author | Matthieu <matthieu@developershouse.xyz> | 2021-09-09 22:16:39 +0400 |
|---|---|---|
| committer | Matthieu <matthieu@developershouse.xyz> | 2021-09-09 22:16:39 +0400 |
| commit | 11912b050a97c258a8a38552d855f183c339beee (patch) | |
| tree | d80f960beb4e0455cd8d0d8addb7b3308dda6933 /gateway/src/client/utils.rs | |
| parent | e28d134370196d3e4d3ff9016a36cce011031e58 (diff) | |
gateway improvements, common packages and examples
Diffstat (limited to 'gateway/src/client/utils.rs')
| -rw-r--r-- | gateway/src/client/utils.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gateway/src/client/utils.rs b/gateway/src/client/utils.rs index 023b6b9..141740e 100644 --- a/gateway/src/client/utils.rs +++ b/gateway/src/client/utils.rs @@ -1,3 +1,5 @@ + +/// Formats a url of connection to the gateway pub fn get_gateway_url (compress: bool, encoding: &str, v: i16) -> String { return format!( "wss://gateway.discord.gg/?v={}&encoding={}&compress={}", |
