Application
Table of Contents
Interfaces
- DriverInterface
- Interface for an HTTP driver.
- EndpointInterface
- HttpInterface
- Discord HTTP client.
Classes
- Bucket
- Represents a rate-limit bucket.
- Guzzle
- guzzlehttp/guzzle driver for Discord HTTP client. (still with React Promise).
- React
- react/http driver for Discord HTTP client.
- Endpoint
- BadRequestException
- Thrown when a request to Discord's REST API returned ClientErrorResponse.
- ContentTooLongException
- Thrown when the Discord servers return `content longer than 2000 characters` after a REST request. The user must use WebSockets to obtain this data if they need it.
- InvalidTokenException
- Thrown when an invalid token is provided to a Discord endpoint.
- MethodNotAllowedException
- Thrown when a request to Discord's REST API method is invalid.
- NoPermissionsException
- Thrown when you do not have permissions to do something.
- NotFoundException
- Thrown when a 404 Not Found response is received.
- RateLimitException
- Thrown when a request to Discord's REST API got rate limited and the library does not know how to handle.
- RequestFailedException
- Thrown when a request to Discord's REST API fails.
- Http
- Discord HTTP client.
- MultipartBody
- MultipartField
- RateLimit
- Represents a rate-limit given by Discord.
- Request
- Represents an HTTP request.
Traits
- EndpointTrait
- HttpTrait
- Discord HTTP client.