statprotocolhttpResult Structure Definition

The statprotocolhttpResult structure defines the return type for statprotocolhttp API.

Syntax



Members

rc

If the method succeeds, rc is 0 else rc > 0. Values above 0x8000 indicate Warnings.

message

If the method succeeds, message is NULL else message contains Error/Warning message.

protocolhttpList

Pointer to the protocolhttp List.


protocolhttpstats Structure Definition

The protocolhttpstats structure defines the actual return type values for statprotocolhttp API.

Syntax



Members

clearstats

Clear the statsistics / counters

_nextgenapiresource


httptotrequests

Total number of HTTP requests received.

httprequestsrate

Rate of HTTP requests received.

httptotresponses

Total number of HTTP responses sent.

httpresponsesrate

Rate of HTTP responses sent.

httptotrxrequestbytes

Total number of bytes of HTTP request data received.

httprxrequestbytesrate

Rate of bytes of HTTP request data received.

httptotrxresponsebytes

Total number of bytes of HTTP response data received.

httprxresponsebytesrate

Rate of bytes of HTTP response data received.

httptotgets

Total number of HTTP requests received with the GET method.

httpgetsrate

Rate of HTTP requests received with the GET method.

httptotposts

Total number of HTTP requests received with the POST method.

httppostsrate

Rate of HTTP requests received with the POST method.

httptotothers

Total number of HTTP requests received with methods other than GET and POST. Some of the other well-defined HTTP methods are HEAD, PUT, DELETE, OPTIONS, and TRACE. User-defined methods are also allowed.

httptohersrate

Rate of HTTP requests received with methods other than GET and POST. Some of the other well-defined HTTP methods are HEAD, PUT, DELETE, OPTIONS, and TRACE. User-defined methods are also allowed.

httptot10requests

Total number of HTTP/1.0 requests received.

http10requestsrate

Rate of HTTP/1.0 requests received.

httptot11requests

Total number of HTTP/1.1 requests received.

http11requestsrate

Rate of HTTP/1.1 requests received.

httptotclenrequests

Total number of HTTP requests in which the Content-length field of the HTTP header has been set. Content-length specifies the length of the content, in bytes, in the associated HTTP body.

httpclenrequestsrate

Rate of HTTP requests in which the Content-length field of the HTTP header has been set. Content-length specifies the length of the content, in bytes, in the associated HTTP body.

httptotchunkedrequests

Total number of HTTP requests in which the Transfer-Encoding field of the HTTP header has been set to chunked.

httpchunkedrequestsrate

Rate of HTTP requests in which the Transfer-Encoding field of the HTTP header has been set to chunked.

httptottxrequestbytes

Total number of bytes of HTTP request data transmitted.

httptxrequestbytesrate

Rate of bytes of HTTP request data transmitted.

httptot10responses

Total number of HTTP/1.0 responses sent.

http10responsesrate

Rate of HTTP/1.0 responses sent.

httptot11responses

Total number of HTTP/1.1 responses sent.

http11responsesrate

Rate of HTTP/1.1 responses sent.

httptotclenresponses

Total number of HTTP responses sent in which the Content-length field of the HTTP header has been set. Content-length specifies the length of the content, in bytes, in the associated HTTP body.

httpclenresponsesrate

Rate of HTTP responses sent in which the Content-length field of the HTTP header has been set. Content-length specifies the length of the content, in bytes, in the associated HTTP body.

httptotchunkedresponses

Total number of HTTP responses sent in which the Transfer-Encoding field of the HTTP header has been set to chunked. This setting is used when the server wants to start sending the response before knowing its total length. The server breaks the response into chunks and sends them in sequence, inserting the length of each chunk before the actual data. The message ends with a chunk of size zero.

httpchunkedresponsesrate

Rate of HTTP responses sent in which the Transfer-Encoding field of the HTTP header has been set to chunked. This setting is used when the server wants to start sending the response before knowing its total length. The server breaks the response into chunks and sends them in sequence, inserting the length of each chunk before the actual data. The message ends with a chunk of size zero.

httperrnoreusemultipart

Total number of HTTP multi-part responses sent. In multi-part responses, one or more entities are encapsulated within the body of a single message.

httperrnoreusemultipartrate

Rate of HTTP multi-part responses sent. In multi-part responses, one or more entities are encapsulated within the body of a single message.

httptotnoclenchunkresponses

Total number of FIN-terminated responses sent. In FIN-terminated responses, the server finishes sending the data and closes the connection.

httpnoclenchunkresponsesrate

Rate of FIN-terminated responses sent. In FIN-terminated responses, the server finishes sending the data and closes the connection.

httptottxresponsebytes

Total number of bytes of HTTP response data transmitted.

httptxresponsebytesrate

Rate of bytes of HTTP response data transmitted.

httperrincompleteheaders

Total number of HTTP requests and responses received in which the HTTP header spans more than one packet.

httperrincompleterequests

Total number of HTTP requests received in which the header spans more than one packet.

httperrincompleterequestsrate

Rate of HTTP requests received in which the header spans more than one packet.

httperrincompleteresponses

Total number of HTTP responses received in which the header spans more than one packet.

httperrincompleteresponsesrate

Rate of HTTP responses received in which the header spans more than one packet.

httperrserverbusy

Total number of HTTP error responses received. Some of the error responses are: 500 Internal Server Error 501 Not Implemented 502 Bad Gateway 503 Service Unavailable 504 Gateway Timeout 505 HTTP Version Not Supported

httperrserverbusyrate

Rate of HTTP error responses received. Some of the error responses are: 500 Internal Server Error 501 Not Implemented 502 Bad Gateway 503 Service Unavailable 504 Gateway Timeout 505 HTTP Version Not Supported

httperrlargecontent

Total number of requests and responses received with large body.

httperrlargechunk

Total number of requests received with large chunk size, in which the Transfer-Encoding field of the HTTP header has been set to chunked.

httperrlargectlen

Total number of requests received with large content, in which the Content-length field of the HTTP header has been set. Content-length specifies the length of the content, in bytes, in the associated HTTP body.

httperrrfc7230desynctlente

Total number of requests/responses received with both content-length and transfer encoding headers - RFC7230 Non-compliance

httperrrfc7230desynmultictlen

Total number of request/response received with multiple content-length headers with different values - RFC7230 Non-compliance

httperrrfc7230desynidenticalctlen

Total number of request/response received with duplicate content-length headers - RFC7230 Non-compliance

httperrinvalidhostheader

Total number of request received with invalid host header

See Also