dojox/io/httpParse (version 1.10)

Summary

Parses an HTTP stream for a message.

Usage

httpParse(httpStream,topHeaders,partial);
Parameter Type Description
httpStream String

HTTP stream to parse

topHeaders String
Optional

Extra header information to add to each HTTP request (kind of HTTP inheritance)

partial Boolean
Optional

A true value indicates that the stream may not be finished, it may end arbitrarily in mid stream. The last XHR object will have a special property _lastIndex that indicates the how far along the httpStream could be successfully parsed into HTTP messages.

Returns:any

Returns an array of XHR-like object for reading the headers for each message

See the dojox/io/httpParse reference documentation for more information.

Method Summary

Methods

Error in the documentation? Can’t find what you are looking for? Let us know!