HTTPRequestHeadersToByteArray Method (Boolean, Boolean, Boolean) |
Returns a byte array representing the HTTP headers.
Namespace: FiddlerAssembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax public byte[] ToByteArray(
bool prependVerbLine,
bool appendEmptyLine,
bool includeProtocolInPath
)
Public Function ToByteArray (
prependVerbLine As Boolean,
appendEmptyLine As Boolean,
includeProtocolInPath As Boolean
) As Byte()
public:
array<unsigned char>^ ToByteArray(
bool prependVerbLine,
bool appendEmptyLine,
bool includeProtocolInPath
)
Parameters
- prependVerbLine
- Type: SystemBoolean
TRUE if the HTTP REQUEST line (method+path+httpversion) should be included - appendEmptyLine
- Type: SystemBoolean
TRUE if there should be a trailing \r\n byte sequence included - includeProtocolInPath
- Type: SystemBoolean
TRUE if the SCHEME and HOST should be included in the HTTP REQUEST LINE
Return Value
Type:
ByteThe HTTP headers as a byte[]
See Also