HTTP API Reference¶
All endpoint functions are accessible from your discord.Client._http attribute.
- async HTTP.get_gateway() HTTPResponse[source]¶
Returns an object containing a valid WSS URL which the application can use when connecting to the gateway
- async HTTP.get_gateway_bot() HTTPResponse[source]¶
Returns an object based on the information in
get_gateway(), plus additional metadata that can help during the operation of large or sharded bots.