35 typedef struct OSRTHttpHeader {
42 typedef struct OSRTHttpContent {
72 (
OSCTXT* pctxt,
const char* url, OSRTHttpContent* pContent);
94 const char* method,
const char* content,
const char* contentType);
106 (OSRTNETCONN* pNetConn, OSRTHttpHeader* pHeader);
119 (OSRTNETCONN* pNetConn, OSRTHttpHeader* pHeader, OSRTHttpContent* pContent);
133 (OSRTNETCONN* pNetConn, OSRTHttpHeader* pHeader, OSRTHttpContent* pContent);
143 void rtxDiagPrintHttpHeader (
OSCTXT* pctxt,
const OSRTHttpHeader* pHeader);
EXTERNRT int rtxHttpSendRequest(OSRTNETCONN *pNetConn, const char *method, const char *content, const char *contentType)
This function sends an HTTP request to a network connection.
EXTERNRT int rtxHttpConnect(OSRTNETCONN *pNetConn)
This function executes a full synchronous HTTP CONNECT request to setup a connection through a proxy...
EXTERNRT int rtxHttpSendGetRequest(OSRTNETCONN *pNetConn, const char *url)
This function sends an HTTP GET request to a network connection.
EXTERNRT int rtxHttpRecvRespContent(OSRTNETCONN *pNetConn, OSRTHttpHeader *pHeader, OSRTHttpContent *pContent)
This function receives any HTTP content indicated by the response header.
Run-time context structure.
EXTERNRT int rtxHttpRecvRespHdr(OSRTNETCONN *pNetConn, OSRTHttpHeader *pHeader)
This function receives the initial header returned from an HTTP request.
EXTERNRT int rtxHttpGet(OSCTXT *pctxt, const char *url, OSRTHttpContent *pContent)
This function executes a full synchronous HTTP GET request.
EXTERNRT int rtxHttpRecvContent(OSRTNETCONN *pNetConn, OSRTHttpHeader *pHeader, OSRTHttpContent *pContent)
This function receives HTTP content.