Class URISchemeRequest
- Namespace
- WebKit
- Assembly
- WebKit-6.0.dll
public sealed class URISchemeRequest : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
- Inheritance
-
URISchemeRequest
- Implements
- Inherited Members
Constructors
URISchemeRequest(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 URISchemeRequest(params ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]
URISchemeRequest(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected URISchemeRequest(CreationData data)
Parameters
dataCreationData
URISchemeRequest(URISchemeRequestHandle)
protected URISchemeRequest(URISchemeRequestHandle handle)
Parameters
handleURISchemeRequestHandle
Methods
Finish(InputStream, long, string?)
public void Finish(InputStream stream, long streamLength, string? contentType)
Parameters
streamInputStreamstreamLengthlongcontentTypestring
FinishError(Error)
[Version("2.2")]
public void FinishError(Error error)
Parameters
errorError
FinishWithResponse(URISchemeResponse)
[Version("2.36")]
public void FinishWithResponse(URISchemeResponse response)
Parameters
responseURISchemeResponse
GetGType()
public static Type GetGType()
Returns
GetHttpBody()
[Version("2.40")]
public InputStream GetHttpBody()
Returns
GetHttpHeaders()
[Version("2.36")]
public MessageHeaders GetHttpHeaders()
Returns
GetHttpMethod()
[Version("2.36")]
public string GetHttpMethod()
Returns
GetPath()
public string GetPath()
Returns
GetScheme()
public string GetScheme()
Returns
GetUri()
public string GetUri()
Returns
GetWebView()
public WebView GetWebView()
Returns
NewFromPointer(nint, bool)
Creates a new managed URISchemeRequest instance for a given pointer.
public static URISchemeRequest NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new URISchemeRequest and sets the properties specified by the construct arguments.
public static URISchemeRequest NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.