ContentRequest class

Namespace Runic.Desktop · Runic.Desktop 0.7.0-preview.5

public sealed class ContentRequest

Describes one request presented to a surface content handler.

Properties

CancellationReason

public RequestCancellationReason CancellationReason { get; }

Gets the cancellation cause observed by this request.

Headers

public IReadOnlyDictionary<string, string> Headers { get; }

Gets the immutable request-header snapshot using case-insensitive names.

Method

public string Method { get; }

Gets the HTTP request method.

Path

public string Path { get; }

Gets the decoded absolute path within the surface.

Services

public IServiceProvider Services { get; }

Gets the request-scoped service provider.