Bredbandskollen CLI
1.2
Asynchronous network task engine
|
This is the complete list of members for HttpClientConnection, including all inherited members.
abortWsStream() (defined in HttpConnection) | HttpConnection | inline |
addUrlPars(std::string &url, const std::map< std::string, std::string > &pars) (defined in HttpClientConnection) | HttpClientConnection | static |
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 |
cache_session() | SocketConnection | inline |
cacheLabel() override | HttpClientConnection | virtual |
checkReadBlock() | Socket | inlineprotectedvirtual |
closedByPeer() | SocketConnection | virtual |
closeMe() | Socket | inlineprotected |
closeSocket(int fd) | Socket | protectedstatic |
connected() final | HttpClientConnection | virtual |
connectionFailed(const std::string &err_msg) | SocketConnection | inlinevirtual |
contents() const (defined in HttpClientConnection) | HttpClientConnection | inline |
contentType() const | HttpClientConnection | inline |
createHashKey(unsigned int length=20) | Logger | static |
createNonBlockingSocket(struct addrinfo *addressEntry, struct addrinfo *localAddr=nullptr) | Socket | protected |
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 |
doStreamResponse() | HttpClientConnection | inline |
enableTLS() | SocketConnection | inline |
err_log(const std::string &label) | Logger | inlinestatic |
err_log() const | Logger | inlineprotected |
errno_log() const | Logger | protected |
flushLogFile() | Logger | inlinestatic |
get(const std::string &url) | HttpClientConnection | |
getAddressInfo(uint16_t iptype=0) | Socket | |
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 |
getUnixDomainPeer() const | Socket | inline |
hasExpired(const TimePoint &when) const | Socket | inline |
Logger::hasExpired(const TimePoint &t) | Logger | inlinestatic |
hostname() const | Socket | inline |
HttpClientConnection(const std::string &label, HttpClientTask *task, const std::string &hostname, uint16_t port, const std::string &http_hostname=std::string(), uint16_t iptype=0, struct addrinfo *local_addr=nullptr) (defined in HttpClientConnection) | HttpClientConnection | |
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 |
httpStatus() const | HttpClientConnection | inline |
httpVersion() (defined in HttpConnection) | HttpConnection | inline |
id() const | Socket | inline |
idle() const (defined in HttpClientConnection) | HttpClientConnection | 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 |
owner() const | Socket | inline |
pass() | HttpClientConnection | inline |
pauseLogging() | Logger | inlinestatic |
peerIp() const | SocketConnection | inline |
peerPort() const | SocketConnection | inline |
port() const | Socket | inline |
post(const std::string &url, size_t len) | HttpClientConnection | |
post(const std::string &url, const std::string &data) | HttpClientConnection | |
rawHttpHeader() const (defined in HttpClientConnection) | HttpClientConnection | inline |
readData(char *buf, size_t len) final | HttpClientConnection | virtual |
remainingContentLength() const (defined in HttpClientConnection) | HttpClientConnection | inline |
reopenLogFile(const std::string &filename) | Logger | static |
resetByteCounter() | SocketConnection | inlinestatic |
resetLabel(const std::string &new_label) | Logger | inline |
responseHeaders() const (defined in HttpClientConnection) | HttpClientConnection | 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 |
sendData(const char *buf, size_t len) | SocketConnection | |
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 | HttpClientConnection | 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 |
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 |
urlencode(const std::string &val) (defined in HttpClientConnection) | HttpClientConnection | static |
warn_log(const std::string &label) | Logger | inlinestatic |
warn_log() const | Logger | inlineprotected |
writeData() final | HttpClientConnection | virtual |
ws_get(const std::string &url) | HttpClientConnection | |
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 |
~Socket() (defined in Socket) | Socket | virtual |
~SocketConnection() override (defined in SocketConnection) | SocketConnection | inlinevirtual |