Table of Contents

Class URIResponse

Namespace
WebKit
Assembly
WebKit-6.0.dll
public sealed class URIResponse : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
URIResponse
Implements
Inherited Members

Constructors

URIResponse(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public URIResponse(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

URIResponse(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected URIResponse(CreationData data)

Parameters

data CreationData

URIResponse(URIResponseHandle)

protected URIResponse(URIResponseHandle handle)

Parameters

handle URIResponseHandle

Fields

ContentLengthPropertyDefinition

public static readonly Property<ulong, URIResponse> ContentLengthPropertyDefinition

Field Value

Property<ulong, URIResponse>

HttpHeadersPropertyDefinition

public static readonly Property<MessageHeaders, URIResponse> HttpHeadersPropertyDefinition

Field Value

Property<MessageHeaders, URIResponse>

MimeTypePropertyDefinition

public static readonly Property<string?, URIResponse> MimeTypePropertyDefinition

Field Value

Property<string, URIResponse>

StatusCodePropertyDefinition

public static readonly Property<uint, URIResponse> StatusCodePropertyDefinition

Field Value

Property<uint, URIResponse>

SuggestedFilenamePropertyDefinition

public static readonly Property<string?, URIResponse> SuggestedFilenamePropertyDefinition

Field Value

Property<string, URIResponse>

UriPropertyDefinition

public static readonly Property<string?, URIResponse> UriPropertyDefinition

Field Value

Property<string, URIResponse>

Properties

ContentLength

public ulong ContentLength { get; }

Property Value

ulong

HttpHeaders

public MessageHeaders HttpHeaders { get; }

Property Value

MessageHeaders

MimeType

public string? MimeType { get; }

Property Value

string

StatusCode

public uint StatusCode { get; }

Property Value

uint

SuggestedFilename

public string? SuggestedFilename { get; }

Property Value

string

Uri

public string? Uri { get; }

Property Value

string

Methods

GetContentLength()

public ulong GetContentLength()

Returns

ulong

GetGType()

public static Type GetGType()

Returns

Type

GetHttpHeaders()

[Version("2.6")]
public MessageHeaders GetHttpHeaders()

Returns

MessageHeaders

GetMimeType()

public string GetMimeType()

Returns

string

GetStatusCode()

public uint GetStatusCode()

Returns

uint

GetSuggestedFilename()

public string GetSuggestedFilename()

Returns

string

GetUri()

public string GetUri()

Returns

string

NewFromPointer(nint, bool)

Creates a new managed URIResponse instance for a given pointer.

public static URIResponse NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

URIResponse

NewWithProperties(ConstructArgument[])

Creates a new URIResponse and sets the properties specified by the construct arguments.

public static URIResponse NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

URIResponse