#include <HttpTransport.hpp>
Inheritance diagram for HttpTransport:
Public Types | |
enum | Type |
HTTP category, Only POST is used currently, MPOST is not supported yet. | |
Public Methods | |
~HttpTransport () | |
Create HTTP transport with provided remote address as URL-string, set HTTP category default to POST. | |
HttpTransport (std::string &strUrl, int secure) | |
HttpTransport (Url url, int secure) | |
bool | Init () |
Initialize HTTP transport by establishing a channel to the remote end. | |
void | Fini () |
bool | GetStatus (const std::string &p_HttpPacket) |
Obtain the status of the HTTP packet validity. | |
void | SetProperty (const char *p_Property, const char *p_Value) |
Set properties of HTTP transport such as additional Header fields like SOAPAction. | |
const Transport & | operator>> (const char **pPayload) |
Read from a HTTP transport handler and store read payload. | |
const Transport & | operator<< (const char *p_Payload) |
Write a given payload by using HTTP transport as carrier. | |
int | getBodyLength () |
void | setBodyLength (int bodyLength) |
int | getIsHttpHeader () |
Implements HTTP transport as SOAP-Envelop carrier, for sending/receiving SOAP messages with HTTP 1.1/1.0; This implementation abstract the Transport layer for the SOAP payloads
|
Create HTTP transport with provided remote address as URL-string, set HTTP category default to POST. Shutdown any established channel |
|
Create HTTP transport with provided remote address as URL-string, set HTTP category default to POST |
|
Create HTTP transport with provided URL as remote address, set HTTP category default to POST |
|
Obtain the status of the HTTP packet validity. Obtain the status of the HTTP packet validity.
Reimplemented from Transport. |
|
Initialize HTTP transport by establishing a channel to the remote end. Initialize HTTP transport by establishing a channel to the remote end.
Reimplemented from Transport. |
|
Write a given payload by using HTTP transport as carrier. Write a given payload to the established channel by using HTTP transport as carrier. Implements Transport. |
|
Read from a HTTP transport handler and store read payload. Read from a HTTP transport handler and store read payload.
Reimplemented from Transport. |
|
Set properties of HTTP transport such as additional Header fields like SOAPAction. Set properties of HTTP transport such as additional Header fields like SOAPAction.
Implements Transport. |