proxygen
HTTPConstants.h File Reference

Go to the source code of this file.

Namespaces

 proxygen
 

Macros

#define CONNECTION_CLOSE_REASON_GEN(x)
 
#define CONNECTION_CLOSE_REASON_ENUM(e, r)   e,
 

Enumerations

enum  proxygen::ConnectionCloseReason {
  proxygen::ConnectionCloseReason::SHUTDOWN, proxygen::ConnectionCloseReason::READ_EOF, proxygen::ConnectionCloseReason::GOAWAY, proxygen::ConnectionCloseReason::SESSION_PARSE_ERROR,
  proxygen::ConnectionCloseReason::REMOTE_ERROR, proxygen::ConnectionCloseReason::TRANSACTION_ABORT, proxygen::ConnectionCloseReason::TIMEOUT, proxygen::ConnectionCloseReason::IO_READ_ERROR,
  proxygen::ConnectionCloseReason::IO_WRITE_ERROR, proxygen::ConnectionCloseReason::REQ_NOTREUSABLE, proxygen::ConnectionCloseReason::ERR_RESP, proxygen::ConnectionCloseReason::UNKNOWN,
  proxygen::ConnectionCloseReason::FLOW_CONTROL, proxygen::ConnectionCloseReason::kMAX_REASON
}
 
enum  proxygen::UpgradeProtocol : int { proxygen::UpgradeProtocol::TCP }
 

Functions

const char * proxygen::getConnectionCloseReasonStringByIndex (unsigned int index)
 
const char * proxygen::getConnectionCloseReasonString (ConnectionCloseReason r)
 

Macro Definition Documentation

#define CONNECTION_CLOSE_REASON_ENUM (   e,
 
)    e,

Definition at line 50 of file HTTPConstants.h.

#define CONNECTION_CLOSE_REASON_GEN (   x)
Value:
x(SHUTDOWN, "shutdown") \
x(READ_EOF, "read_eof") \
x(GOAWAY, "goaway") \
x(SESSION_PARSE_ERROR, "session_parse_err") \
x(REMOTE_ERROR, "remote_err") \
x(TRANSACTION_ABORT, "transaction_abort") \
x(TIMEOUT, "timeout") \
x(IO_READ_ERROR, "io_read_err") \
x(IO_WRITE_ERROR, "io_write_err") \
x(REQ_NOTREUSABLE, "req_not_reusable") \
x(ERR_RESP, "err_resp") \
x(UNKNOWN, "unknown") \
x(FLOW_CONTROL, "flow_control") \
x(kMAX_REASON, "unset")
const int x
string UNKNOWN
Definition: tokenize.py:53

Definition at line 34 of file HTTPConstants.h.