![]() |
HTTP driver specific cntls.
GLOBUS_XIO_HTTP_HANDLE_SET_RESPONSE_HEADER | See usage for: globus_xio_handle_cntl . |
GLOBUS_XIO_HTTP_HANDLE_SET_RESPONSE_STATUS_CODE | See usage for: globus_xio_handle_cntl . |
GLOBUS_XIO_HTTP_HANDLE_SET_RESPONSE_REASON_PHRASE | See usage for: globus_xio_handle_cntl . |
GLOBUS_XIO_HTTP_HANDLE_SET_RESPONSE_HTTP_VERSION | See usage for: globus_xio_handle_cntl . |
GLOBUS_XIO_HTTP_HANDLE_SET_END_OF_ENTITY | See usage for: globus_xio_handle_cntl . |
HTTP driver specific attribute and data descriptor cntls.
GLOBUS_XIO_HTTP_ATTR_SET_REQUEST_METHOD | See usage for: globus_xio_attr_cntl . |
GLOBUS_XIO_HTTP_ATTR_SET_REQUEST_HTTP_VERSION | See usage for: globus_xio_attr_cntl . |
GLOBUS_XIO_HTTP_ATTR_SET_REQUEST_HEADER | See usage for: globus_xio_attr_cntl . |
GLOBUS_XIO_HTTP_ATTR_DELAY_WRITE_HEADER | See usage for: globus_xio_attr_cntl . |
GLOBUS_XIO_HTTP_GET_REQUEST | See usage for: globus_xio_data_descriptor_cntl . |
GLOBUS_XIO_HTTP_GET_RESPONSE | See usage for: globus_xio_data_descriptor_cntl . |
globus_result_t globus_xio_handle_cntl | ( | handle | , | |
driver | , | |||
GLOBUS_XIO_HTTP_HANDLE_SET_RESPONSE_HEADER | , | |||
const char * | header_name, | |||
const char * | header_value | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the value of a response HTTP header.
header_name | Name of the HTTP header to set. | |
header_value | Value of the HTTP header |
globus_result_t globus_xio_handle_cntl | ( | handle | , | |
driver | , | |||
GLOBUS_XIO_HTTP_HANDLE_SET_RESPONSE_STATUS_CODE | , | |||
int | status | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the response status code.
status | Value in the range 100-599 which will be used as the HTTP response code, as per RFC 2616. |
globus_result_t globus_xio_handle_cntl | ( | handle | , | |
driver | , | |||
GLOBUS_XIO_HTTP_HANDLE_SET_RESPONSE_REASON_PHRASE | , | |||
const char * | reason | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the response reason phrase.
reason | The value of the HTTP response string, as per RFC 2616. |
globus_result_t globus_xio_handle_cntl | ( | handle | , | |
driver | , | |||
GLOBUS_XIO_HTTP_HANDLE_SET_RESPONSE_HTTP_VERSION | , | |||
globus_xio_http_version_t | version | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the response HTTP version.
version | The HTTP version to be used in the server response line. |
globus_result_t globus_xio_handle_cntl | ( | handle | , | |
driver | , | |||
GLOBUS_XIO_HTTP_HANDLE_SET_END_OF_ENTITY | ||||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Indicate end-of-entity for an HTTP body.
HTTP clients and servers must call this command to indicate to the driver that the entity-body which is being sent is completed. Subsequent attempts to write data on the handle will fail.
This handle command MUST be called on the client side of an HTTP connection when the HTTP method is OPTIONS, POST, or PUT, or when the open attributes indicate that an entity will be sent. This handle command MUST be called on the server side of an HTTP request connection when the HTTP method was OPTIONS, GET, POST, or TRACE.
globus_result_t globus_xio_attr_cntl | ( | attr | , | |
driver | , | |||
GLOBUS_XIO_HTTP_ATTR_SET_REQUEST_METHOD | , | |||
const char * | method | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the HTTP method to use for a client request.
method | The request method string ("GET", "PUT", "POST", etc) that will be used in the HTTP request. |
This attribute is ignored when opening the server side of an HTTP connection.
Setting this attribute may fail with
globus_result_t globus_xio_attr_cntl | ( | attr | , | |
driver | , | |||
GLOBUS_XIO_HTTP_ATTR_SET_REQUEST_HTTP_VERSION | , | |||
globus_xio_http_version_t | version | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the HTTP version to use for a client request.
version | The HTTP version to use for the client request. |
This attribute is ignored when opening the server side of an HTTP connection.
globus_result_t globus_xio_attr_cntl | ( | attr | , | |
driver | , | |||
GLOBUS_XIO_HTTP_ATTR_SET_REQUEST_HEADER | , | |||
const char * | header_name, | |||
const char * | header_value | |||
) |
This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. Set the value of an HTTP request header.
header_name | Name of the HTTP header to set. | |
header_value | Value of the HTTP header |
about globus |
globus toolkit |
dev.globus
Comments? webmaster@globus.org