Bredbandskollen CLI
1.2
Asynchronous network task engine
|
This is the complete list of members for HttpServerConnection, including all inherited members.
abortWsStream() (defined in HttpConnection) | HttpConnection | inline |
asyncBufferSize() const | SocketConnection | inline |
asyncSendData(const char *buf, size_t len) | SocketConnection | |
asyncSendData(const std::string data) | SocketConnection | inline |
buffer (defined in HttpConnection) | HttpConnection | protected |
bufferPostData() | HttpServerConnection | inline |
cache_session() | SocketConnection | inline |
cacheLabel() | Socket | inlinevirtual |
checkReadBlock() | Socket | inlineprotectedvirtual |
chunkedResponseComplete() | HttpServerConnection | |
closedByPeer() | SocketConnection | virtual |
closeMe() | Socket | inlineprotected |
closeSocket(int fd) | Socket | protectedstatic |
connected() final | HttpServerConnection | inlinevirtual |
connectionFailed(const std::string &err_msg) | SocketConnection | inlinevirtual |
cookieVal(const std::string &name) const | HttpServerConnection | |
createHashKey(unsigned int length=20) | Logger | static |
createNonBlockingSocket(struct addrinfo *addressEntry, struct addrinfo *localAddr=nullptr) | Socket | protected |
currentFullUrl() const (defined in HttpServerConnection) | HttpServerConnection | inline |
currentQueryPars() const (defined in HttpServerConnection) | HttpServerConnection | inline |
currentQueryString() const (defined in HttpServerConnection) | HttpServerConnection | inline |
currentRequest() const | HttpServerConnection | inline |
currentRequestCookies() const (defined in HttpServerConnection) | HttpServerConnection | |
currentUri() const (defined in HttpServerConnection) | HttpServerConnection | inline |
dateString(time_t t=0) | Logger | static |
dateString2(time_t t=0) | Logger | static |
dbg_log() const | Logger | inlineprotected |
dbgIsOn() | SocketConnection | inline |
dbgOn(bool b=true) | SocketConnection | inline |
enableTLS() | SocketConnection | inline |
eraseQueryPar(const std::string &name) (defined in HttpServerConnection) | HttpServerConnection | inline |
err_log(const std::string &label) | Logger | inlinestatic |
err_log() const | Logger | inlineprotected |
errno_log() const | Logger | protected |
flushLogFile() | Logger | inlinestatic |
getAddressInfo(uint16_t iptype=0) | Socket | |
getHeaderVal(const std::string &name) const | HttpServerConnection | |
getHeaderVals(const std::string &name) const (defined in HttpServerConnection) | HttpServerConnection | inline |
getIp(int fd, uint16_t *port=nullptr, bool peer=true) | Socket | static |
getIp(struct sockaddr *address, uint16_t *port=nullptr) | Socket | static |
getIp(struct addrinfo *address, uint16_t *port=nullptr) | Socket | static |
getQueryVal(const std::string &name) const | HttpServerConnection | |
getUnixDomainPeer() const | Socket | inline |
hasExpired(const TimePoint &when) const | Socket | inline |
Logger::hasExpired(const TimePoint &t) | Logger | inlinestatic |
hasQueryPar(const std::string &name) const | HttpServerConnection | |
Hit typedef (defined in HttpServerConnection) | HttpServerConnection | |
hostname() const | Socket | inline |
HttpConnection(const std::string &label, Task *owner, const std::string &hostname, uint16_t port, uint16_t iptype=0, struct addrinfo *local_addr=nullptr) (defined in HttpConnection) | HttpConnection | inlineprotected |
HttpConnection(const std::string &label, Task *owner, int fd, const char *ip, uint16_t port) (defined in HttpConnection) | HttpConnection | inlineprotected |
HttpServerConnection(const std::string &label, WebServerTask *task, int fd, const char *ip, uint16_t port) (defined in HttpServerConnection) | HttpServerConnection | |
httpVersion() (defined in HttpConnection) | HttpConnection | inline |
id() const | Socket | inline |
incoming_ws_data(const char *buf, size_t len) (defined in HttpConnection) | HttpConnection | protected |
incoming_ws_header(const char *buf, size_t len) (defined in HttpConnection) | HttpConnection | protected |
inError() const | Socket | inlineprotected |
Logger::inError() | Logger | inlinestatic |
insert_cached_session(gnutls_session_t &old_session) | SocketConnection | inline |
is_tls() const | SocketConnection | inline |
is_websocket (defined in HttpConnection) | HttpConnection | protected |
isTempError() | Socket | inlineprotectedstatic |
isWebsocket() const (defined in HttpConnection) | HttpConnection | inline |
label() const | Logger | inline |
localIp() const | Socket | inline |
log(const std::string &label) | Logger | inlinestatic |
log() const | Logger | inlineprotected |
Logger(std::string label) | Logger | inline |
msSince(const TimePoint &t) | Logger | static |
msTo(const TimePoint &t) | Logger | static |
notifyWsHandshake() | HttpServerConnection | inline |
owner() const | Socket | inline |
pauseLogging() | Logger | inlinestatic |
peerIp() const | SocketConnection | inline |
peerPort() const | SocketConnection | inline |
port() const | Socket | inline |
readData(char *buf, size_t len) final | HttpServerConnection | virtual |
remainingPostData() const | HttpServerConnection | inline |
reopenLogFile(const std::string &filename) | Logger | static |
resetByteCounter() | SocketConnection | inlinestatic |
resetLabel(const std::string &new_label) | Logger | inline |
responseMask() const (defined in HttpConnection) | HttpConnection | inline |
sayTime(std::ostream &stream) | Logger | static |
secondsSince(const TimePoint &t) | Logger | static |
secondsTo(const TimePoint &t) | Logger | static |
send_ws_bin_header(size_t len) (defined in HttpConnection) | HttpConnection | protected |
send_ws_handshake(const std::string &key) (defined in HttpConnection) | HttpConnection | protected |
send_ws_pong() (defined in HttpConnection) | HttpConnection | protected |
send_ws_txt_header(size_t len) (defined in HttpConnection) | HttpConnection | protected |
sendChunk(const std::string &content) | HttpServerConnection | |
sendChunkedResponseHeader(const std::string &headers, const std::string &mime) | HttpServerConnection | |
sendData(const char *buf, size_t len) | SocketConnection | |
sendHttpResponse(const std::string &headers, const std::string &mime, const std::string &contents) | HttpServerConnection | |
sendHttpResponseHeader(const std::string &headers, const std::string &mime, size_t content_length) | HttpServerConnection | |
sendingChunkedResponse() const (defined in HttpServerConnection) | HttpServerConnection | inline |
sendWsBinary(const char *buf, size_t len) (defined in HttpConnection) | HttpConnection | |
sendWsClose(uint16_t code, std::string msg) (defined in HttpConnection) | HttpConnection | |
sendWsMessage(const std::string &msg) (defined in HttpConnection) | HttpConnection | |
set_http_version(unsigned int major, unsigned int minor) (defined in HttpConnection) | HttpConnection | inlineprotected |
setExpiry(double s) | Socket | inline |
setLogFile(std::ostream &stream) | Logger | static |
setLogLimit(unsigned int loglines=0, unsigned int warnlines=0, unsigned int errlines=0) | Logger | static |
setNonBlocking(int fd) | Socket | protected |
setOwner(Task *new_owner) override | HttpServerConnection | virtual |
setWantToSend() | Socket | inlineprotected |
Socket(const std::string &label, Task *owner, const std::string &hostname, uint16_t port) (defined in Socket) | Socket | |
Socket(const std::string &label, Task *owner, int fd) (defined in Socket) | Socket | |
socket() const | Socket | inlineprotected |
SocketConnection(const std::string &label, Task *owner, const std::string &hostname, uint16_t port, uint16_t iptype=0, struct addrinfo *local_addr=nullptr) | SocketConnection | |
SocketConnection(const std::string &label, Task *owner, int fd, const char *ip, uint16_t port) | SocketConnection | protected |
socketInError(int fd) | Socket | protectedstatic |
startWsBinStream(size_t len) (defined in HttpConnection) | HttpConnection | inline |
startWsTxtStream(size_t len) (defined in HttpConnection) | HttpConnection | inline |
HttpConnection::state() const | Socket | inline |
streamWsResponse() (defined in HttpConnection) | HttpConnection | inline |
tellOwner(const std::string &msg) | SocketConnection | protected |
timeAfter(double s) | Logger | inlinestatic |
timeMax() | Logger | inlinestatic |
timeNow() | Logger | inlinestatic |
totBytesReceived() | SocketConnection | inlinestatic |
totBytesSent() | SocketConnection | inlinestatic |
toUs(double t) | Logger | inlinestatic |
unexpectedData(char *buf, size_t len) | SocketConnection | virtual |
warn_log(const std::string &label) | Logger | inlinestatic |
warn_log() const | Logger | inlineprotected |
writeData() override | HttpServerConnection | virtual |
wsBytesReceived() const (defined in HttpConnection) | HttpConnection | inline |
wsBytesSent() const (defined in HttpConnection) | HttpConnection | inline |
wsIncomingBytesLeft() const (defined in HttpConnection) | HttpConnection | inline |
wsOutgoingBytesLeft() const (defined in HttpConnection) | HttpConnection | inline |
wsReadData(const char *buf, size_t len) (defined in HttpConnection) | HttpConnection | protected |
wsWriteData() (defined in HttpConnection) | HttpConnection | protected |
~HttpServerConnection() override (defined in HttpServerConnection) | HttpServerConnection | virtual |
~Socket() (defined in Socket) | Socket | virtual |
~SocketConnection() override (defined in SocketConnection) | SocketConnection | inlinevirtual |