Click or drag to resize
SessionWriteRequestToStream Method (Boolean, Boolean, Stream)
Write the session's Request to the specified stream

Namespace: Fiddler
Assembly: FiddlerCore4 (in FiddlerCore4.dll) Version: 4.6.2.0
Syntax
public bool WriteRequestToStream(
	bool bHeadersOnly,
	bool bIncludeProtocolAndHostWithPath,
	Stream oFS
)

Parameters

bHeadersOnly
Type: SystemBoolean
TRUE if only the headers should be be written
bIncludeProtocolAndHostWithPath
Type: SystemBoolean
TRUE if the Scheme and Host should be written in the Request Line
oFS
Type: System.IOStream
The Stream to which the request should be written

Return Value

Type: Boolean
True if the request was written to the stream. False if the request headers do not exist. Throws on other stream errors.
See Also