Bredbandskollen CLI  1.2
Asynchronous network task engine
HttpServerConnection Member List

This is the complete list of members for HttpServerConnection, including all inherited members.

abortWsStream() (defined in HttpConnection)HttpConnectioninline
asyncBufferSize() constSocketConnectioninline
asyncSendData(const char *buf, size_t len)SocketConnection
asyncSendData(const std::string data)SocketConnectioninline
buffer (defined in HttpConnection)HttpConnectionprotected
bufferPostData()HttpServerConnectioninline
cache_session()SocketConnectioninline
cacheLabel()Socketinlinevirtual
checkReadBlock()Socketinlineprotectedvirtual
chunkedResponseComplete()HttpServerConnection
closedByPeer()SocketConnectionvirtual
closeMe()Socketinlineprotected
closeSocket(int fd)Socketprotectedstatic
connected() finalHttpServerConnectioninlinevirtual
connectionFailed(const std::string &err_msg)SocketConnectioninlinevirtual
cookieVal(const std::string &name) constHttpServerConnection
createHashKey(unsigned int length=20)Loggerstatic
createNonBlockingSocket(struct addrinfo *addressEntry, struct addrinfo *localAddr=nullptr)Socketprotected
currentFullUrl() const (defined in HttpServerConnection)HttpServerConnectioninline
currentQueryPars() const (defined in HttpServerConnection)HttpServerConnectioninline
currentQueryString() const (defined in HttpServerConnection)HttpServerConnectioninline
currentRequest() constHttpServerConnectioninline
currentRequestCookies() const (defined in HttpServerConnection)HttpServerConnection
currentUri() const (defined in HttpServerConnection)HttpServerConnectioninline
dateString(time_t t=0)Loggerstatic
dateString2(time_t t=0)Loggerstatic
dbg_log() constLoggerinlineprotected
dbgIsOn()SocketConnectioninline
dbgOn(bool b=true)SocketConnectioninline
enableTLS()SocketConnectioninline
eraseQueryPar(const std::string &name) (defined in HttpServerConnection)HttpServerConnectioninline
err_log(const std::string &label)Loggerinlinestatic
err_log() constLoggerinlineprotected
errno_log() constLoggerprotected
flushLogFile()Loggerinlinestatic
getAddressInfo(uint16_t iptype=0)Socket
getHeaderVal(const std::string &name) constHttpServerConnection
getHeaderVals(const std::string &name) const (defined in HttpServerConnection)HttpServerConnectioninline
getIp(int fd, uint16_t *port=nullptr, bool peer=true)Socketstatic
getIp(struct sockaddr *address, uint16_t *port=nullptr)Socketstatic
getIp(struct addrinfo *address, uint16_t *port=nullptr)Socketstatic
getQueryVal(const std::string &name) constHttpServerConnection
getUnixDomainPeer() constSocketinline
hasExpired(const TimePoint &when) constSocketinline
Logger::hasExpired(const TimePoint &t)Loggerinlinestatic
hasQueryPar(const std::string &name) constHttpServerConnection
Hit typedef (defined in HttpServerConnection)HttpServerConnection
hostname() constSocketinline
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)HttpConnectioninlineprotected
HttpConnection(const std::string &label, Task *owner, int fd, const char *ip, uint16_t port) (defined in HttpConnection)HttpConnectioninlineprotected
HttpServerConnection(const std::string &label, WebServerTask *task, int fd, const char *ip, uint16_t port) (defined in HttpServerConnection)HttpServerConnection
httpVersion() (defined in HttpConnection)HttpConnectioninline
id() constSocketinline
incoming_ws_data(const char *buf, size_t len) (defined in HttpConnection)HttpConnectionprotected
incoming_ws_header(const char *buf, size_t len) (defined in HttpConnection)HttpConnectionprotected
inError() constSocketinlineprotected
Logger::inError()Loggerinlinestatic
insert_cached_session(gnutls_session_t &old_session)SocketConnectioninline
is_tls() constSocketConnectioninline
is_websocket (defined in HttpConnection)HttpConnectionprotected
isTempError()Socketinlineprotectedstatic
isWebsocket() const (defined in HttpConnection)HttpConnectioninline
label() constLoggerinline
localIp() constSocketinline
log(const std::string &label)Loggerinlinestatic
log() constLoggerinlineprotected
Logger(std::string label)Loggerinline
msSince(const TimePoint &t)Loggerstatic
msTo(const TimePoint &t)Loggerstatic
notifyWsHandshake()HttpServerConnectioninline
owner() constSocketinline
pauseLogging()Loggerinlinestatic
peerIp() constSocketConnectioninline
peerPort() constSocketConnectioninline
port() constSocketinline
readData(char *buf, size_t len) finalHttpServerConnectionvirtual
remainingPostData() constHttpServerConnectioninline
reopenLogFile(const std::string &filename)Loggerstatic
resetByteCounter()SocketConnectioninlinestatic
resetLabel(const std::string &new_label)Loggerinline
responseMask() const (defined in HttpConnection)HttpConnectioninline
sayTime(std::ostream &stream)Loggerstatic
secondsSince(const TimePoint &t)Loggerstatic
secondsTo(const TimePoint &t)Loggerstatic
send_ws_bin_header(size_t len) (defined in HttpConnection)HttpConnectionprotected
send_ws_handshake(const std::string &key) (defined in HttpConnection)HttpConnectionprotected
send_ws_pong() (defined in HttpConnection)HttpConnectionprotected
send_ws_txt_header(size_t len) (defined in HttpConnection)HttpConnectionprotected
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)HttpServerConnectioninline
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)HttpConnectioninlineprotected
setExpiry(double s)Socketinline
setLogFile(std::ostream &stream)Loggerstatic
setLogLimit(unsigned int loglines=0, unsigned int warnlines=0, unsigned int errlines=0)Loggerstatic
setNonBlocking(int fd)Socketprotected
setOwner(Task *new_owner) overrideHttpServerConnectionvirtual
setWantToSend()Socketinlineprotected
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() constSocketinlineprotected
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)SocketConnectionprotected
socketInError(int fd)Socketprotectedstatic
startWsBinStream(size_t len) (defined in HttpConnection)HttpConnectioninline
startWsTxtStream(size_t len) (defined in HttpConnection)HttpConnectioninline
HttpConnection::state() constSocketinline
streamWsResponse() (defined in HttpConnection)HttpConnectioninline
tellOwner(const std::string &msg)SocketConnectionprotected
timeAfter(double s)Loggerinlinestatic
timeMax()Loggerinlinestatic
timeNow()Loggerinlinestatic
totBytesReceived()SocketConnectioninlinestatic
totBytesSent()SocketConnectioninlinestatic
toUs(double t)Loggerinlinestatic
unexpectedData(char *buf, size_t len)SocketConnectionvirtual
warn_log(const std::string &label)Loggerinlinestatic
warn_log() constLoggerinlineprotected
writeData() overrideHttpServerConnectionvirtual
wsBytesReceived() const (defined in HttpConnection)HttpConnectioninline
wsBytesSent() const (defined in HttpConnection)HttpConnectioninline
wsIncomingBytesLeft() const (defined in HttpConnection)HttpConnectioninline
wsOutgoingBytesLeft() const (defined in HttpConnection)HttpConnectioninline
wsReadData(const char *buf, size_t len) (defined in HttpConnection)HttpConnectionprotected
wsWriteData() (defined in HttpConnection)HttpConnectionprotected
~HttpServerConnection() override (defined in HttpServerConnection)HttpServerConnectionvirtual
~Socket() (defined in Socket)Socketvirtual
~SocketConnection() override (defined in SocketConnection)SocketConnectioninlinevirtual