Table of Contents

Class URISchemeResponse

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

Constructors

URISchemeResponse(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 URISchemeResponse(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

URISchemeResponse(CreationData)

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

Parameters

data CreationData

URISchemeResponse(URISchemeResponseHandle)

protected URISchemeResponse(URISchemeResponseHandle handle)

Parameters

handle URISchemeResponseHandle

Methods

GetGType()

public static Type GetGType()

Returns

Type

New(InputStream, long)

[Version("2.36")]
public static URISchemeResponse New(InputStream inputStream, long streamLength)

Parameters

inputStream InputStream
streamLength long

Returns

URISchemeResponse

NewFromPointer(nint, bool)

Creates a new managed URISchemeResponse instance for a given pointer.

public static URISchemeResponse NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

URISchemeResponse

NewWithProperties(ConstructArgument[])

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

public static URISchemeResponse NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

URISchemeResponse

SetContentType(string)

[Version("2.36")]
public void SetContentType(string contentType)

Parameters

contentType string

SetHttpHeaders(MessageHeaders)

[Version("2.36")]
public void SetHttpHeaders(MessageHeaders headers)

Parameters

headers MessageHeaders

SetStatus(uint, string?)

[Version("2.36")]
public void SetStatus(uint statusCode, string? reasonPhrase)

Parameters

statusCode uint
reasonPhrase string