Click or drag to resize
HTTPRequestHeadersToByteArray Method (Boolean, Boolean, Boolean, String)
Returns a byte array representing the HTTP headers.

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public byte[] ToByteArray(
	bool prependVerbLine,
	bool appendEmptyLine,
	bool includeProtocolInPath,
	string sVerbLineHost
)

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
sVerbLineHost
Type: SystemString

Return Value

Type: Byte
The HTTP headers as a byte[]
See Also