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
constructArgumentsConstructArgument[]
URISchemeResponse(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected URISchemeResponse(CreationData data)
Parameters
dataCreationData
URISchemeResponse(URISchemeResponseHandle)
protected URISchemeResponse(URISchemeResponseHandle handle)
Parameters
handleURISchemeResponseHandle
Methods
GetGType()
public static Type GetGType()
Returns
New(InputStream, long)
[Version("2.36")]
public static URISchemeResponse New(InputStream inputStream, long streamLength)
Parameters
inputStreamInputStreamstreamLengthlong
Returns
NewFromPointer(nint, bool)
Creates a new managed URISchemeResponse instance for a given pointer.
public static URISchemeResponse NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new URISchemeResponse and sets the properties specified by the construct arguments.
public static URISchemeResponse NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.
Returns
SetContentType(string)
[Version("2.36")]
public void SetContentType(string contentType)
Parameters
contentTypestring
SetHttpHeaders(MessageHeaders)
[Version("2.36")]
public void SetHttpHeaders(MessageHeaders headers)
Parameters
headersMessageHeaders
SetStatus(uint, string?)
[Version("2.36")]
public void SetStatus(uint statusCode, string? reasonPhrase)