Table of Contents

Class WebEgressFetcher.StreamResult

Namespace
LMKit.Agents.Tools.BuiltIn.Net
Assembly
LM-Kit.NET.dll

One validated fetch handed over as a stream: the headers arrived under the policy's timeout and every redirect hop was validated, but the body is the caller's to read at its own pace (a large download is not bounded by the policy's byte cap or wall clock). Dispose releases the connection.

public sealed class WebEgressFetcher.StreamResult : IDisposable
Inheritance
WebEgressFetcher.StreamResult
Implements
Inherited Members

Properties

Body

The response body stream.

ContentLength

Declared body length, when the server sent one.

FinalUrl

The URL that answered, after any redirects.

StatusCode

The final HTTP status code.

Methods

Dispose()

Releases the body and its connection.

Share