HTTPParser

Undocumented in source.
struct HTTPParser {}

Constructors

this
this(HTTPParserType ty, uint maxHeaderSize)
Undocumented in source.

Members

Functions

bodyIsFinal
bool bodyIsFinal()
Undocumented in source. Be warned that the author may not have intended to support it.
httpMessageNeedsEof
bool httpMessageNeedsEof()
Undocumented in source. Be warned that the author may not have intended to support it.
httpParserExecute
ulong httpParserExecute(ubyte[] data)
Undocumented in source. Be warned that the author may not have intended to support it.
httpShouldKeepAlive
bool httpShouldKeepAlive()
Undocumented in source. Be warned that the author may not have intended to support it.
parseURLchar
HTTPParserState parseURLchar(HTTPParserState s, ubyte ch)
Undocumented in source. Be warned that the author may not have intended to support it.
rest
void rest(HTTPParserType ty, uint maxHeaderSize)
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

contentLength
contentLength [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
error
error [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
errorString
errorString [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
handleIng
handleIng [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
handleIng
bool handleIng [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
isChunked
isChunked [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
isUpgrade
isUpgrade [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
keepalive
keepalive [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
major
major [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
methodCode
methodCode [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
methodString
methodString [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
minor
minor [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
onBody
CallBackData onBody [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
onChunkComplete
CallBackNotify onChunkComplete [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
onChunkHeader
CallBackNotify onChunkHeader [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
onHeaderComplete
CallBackNotify onHeaderComplete [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
onHeaderField
CallBackData onHeaderField [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
onHeaderValue
CallBackData onHeaderValue [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
onMessageBegin
CallBackNotify onMessageBegin [@property setter]

回调函数指定

onMessageComplete
CallBackNotify onMessageComplete [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
onStatus
CallBackData onStatus [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
onUrl
CallBackData onUrl [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
skipBody
skipBody [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
skipBody
bool skipBody [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.
type
type [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
type
HTTPParserType type [@property setter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

_onBody
CallBackData _onBody;
Undocumented in source.
_onChunkComplete
CallBackNotify _onChunkComplete;
Undocumented in source.
_onChunkHeader
CallBackNotify _onChunkHeader;
Undocumented in source.
_onHeaderField
CallBackData _onHeaderField;
Undocumented in source.
_onHeaderValue
CallBackData _onHeaderValue;
Undocumented in source.
_onHeadersComplete
CallBackNotify _onHeadersComplete;
Undocumented in source.
_onMessageBegin
CallBackNotify _onMessageBegin;
Undocumented in source.
_onMessageComplete
CallBackNotify _onMessageComplete;
Undocumented in source.
_onStatus
CallBackData _onStatus;
Undocumented in source.
_onUrl
CallBackData _onUrl;
Undocumented in source.

Meta