neuray Services API Programmer's Manual

Http Client

[neuray Services API]

Description

Classes

class 
HTTP Client Factory API Component for creating HTTP requests. More...
class 
Represent an individual HTTP request. More...
class 
Represent an individual HTTP response as used in IHttp_response_handler. More...
class 
User implemented response handler called with the response of the HTTP request. More...

Enumerations

enum mi::nservices::Http_method{ HTTP_METHOD_GET = 0, HTTP_METHOD_HEAD = 1, HTTP_METHOD_POST = 2, HTTP_METHOD_PUT = 3, HTTP_METHOD_DELETE = 4, HTTP_METHOD_CONNECT = 5, HTTP_METHOD_OPTIONS = 6, HTTP_METHOD_TRACE = 7, HTTP_METHOD_PATCH = 8, HTTP_METHOD_FORCE_32_BIT = 0xffffffffU}
HTTP Methods.
enum mi::nservices::Http_redirect_code{ HTTP_REDIRECT_CODE_NONE = 0x0, HTTP_REDIRECT_CODE_301 = 0x1, HTTP_REDIRECT_CODE_302 = 0x2, HTTP_REDIRECT_CODE_303 = 0x4, HTTP_REDIRECT_CODE_ALL = 0x7, HTTP_REDIRECT_CODE_FORCE_32_BIT = 0xffffffffU}
HTTP Redirect codes as flags.
enum mi::nservices::Http_transfer_mode{ HTTP_TRANSFER_MODE_DEFAULT = 0x0, HTTP_TRANSFER_MODE_STREAM = 0x1, HTTP_TRANSFER_MODE_FORCE_32_BIT = 0xffffffffU}
HTTP transfer flags.

Enums

enum mi::nservices::Http_method

HTTP Methods.

Enumerator:

HTTP_METHOD_GET = 0
GET.
HTTP_METHOD_HEAD = 1
HEAD.
HTTP_METHOD_POST = 2
POST.
HTTP_METHOD_PUT = 3
PUT.
HTTP_METHOD_DELETE = 4
DELETE.
HTTP_METHOD_CONNECT = 5
CONNECT.
HTTP_METHOD_OPTIONS = 6
OPTIONS.
HTTP_METHOD_TRACE = 7
TRACE.
HTTP_METHOD_PATCH = 8
PATCH.
HTTP_METHOD_FORCE_32_BIT = 0xffffffffU
enum mi::nservices::Http_redirect_code

HTTP Redirect codes as flags.

Enumerator:

HTTP_REDIRECT_CODE_NONE = 0x0
None.
HTTP_REDIRECT_CODE_301 = 0x1
Moved Permanently.
HTTP_REDIRECT_CODE_302 = 0x2
Found (Previously "Moved temporarily").
HTTP_REDIRECT_CODE_303 = 0x4
See Other (since HTTP/1.1).
HTTP_REDIRECT_CODE_ALL = 0x7
All redirect codes.
HTTP_REDIRECT_CODE_FORCE_32_BIT = 0xffffffffU
enum mi::nservices::Http_transfer_mode

HTTP transfer flags.

Enumerator:

HTTP_TRANSFER_MODE_DEFAULT = 0x0
All transfer flags off.
HTTP_TRANSFER_MODE_STREAM = 0x1
Body streaming.
HTTP_TRANSFER_MODE_FORCE_32_BIT = 0xffffffffU