mirror of
https://github.com/PabloMK7/citra.git
synced 2025-09-09 12:20:04 +00:00
Fix formatting
This commit is contained in:
parent
3e73ebec50
commit
76c58f496e
1 changed files with 23 additions and 10 deletions
|
@ -48,16 +48,29 @@ enum class RequestMethod : u8 {
|
|||
constexpr u32 TotalRequestMethods = 8;
|
||||
|
||||
enum class RequestState : u8 {
|
||||
NotStarted = 0x1, // Request has not started yet.
|
||||
ConnectingToServer = 0x5, // Request in progress, connecting to server.
|
||||
SendingRequest = 0x6, // Request in progress, sending HTTP request.
|
||||
ReceivingResponse = 0x7, // Request in progress, receiving HTTP response and headers.
|
||||
ReceivingBody = 0x8, // Request in progress, receiving HTTP body. The HTTP module may
|
||||
// get stuck in this state if the internal receive buffer gets full.
|
||||
// Once the user calls ReceiveData it will get unstuck.
|
||||
Received = 0x9, // Request is finished and all data has been received. HTTP transitions
|
||||
// to the Completed state shortly afterwards after some cleanup.
|
||||
Completed = 0xA, // Request is completed.
|
||||
/// Request has not started yet.
|
||||
NotStarted = 0x1,
|
||||
|
||||
/// Request in progress, connecting to server.
|
||||
ConnectingToServer = 0x5,
|
||||
|
||||
/// Request in progress, sending HTTP request.
|
||||
SendingRequest = 0x6,
|
||||
|
||||
// Request in progress, receiving HTTP response and headers.
|
||||
ReceivingResponse = 0x7,
|
||||
|
||||
/// Request in progress, receiving HTTP body. The HTTP module may
|
||||
/// get stuck in this state if the internal receive buffer gets full.
|
||||
/// Once the user calls ReceiveData it will get unstuck.
|
||||
ReceivingBody = 0x8,
|
||||
|
||||
/// Request is finished and all data has been received. HTTP transitions
|
||||
/// to the Completed state shortly afterwards after some cleanup.
|
||||
Received = 0x9,
|
||||
|
||||
/// Request is completed.
|
||||
Completed = 0xA,
|
||||
};
|
||||
|
||||
enum class PostDataEncoding : u8 {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue