Parses an HTTP stream for a message.
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 an array of XHR-like object for reading the headers for each message
See the dojox/io/httpParse reference documentation for more information.