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
constructArgumentsConstructArgument[]
URIResponse(CreationData)
[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected URIResponse(CreationData data)
Parameters
dataCreationData
URIResponse(URIResponseHandle)
protected URIResponse(URIResponseHandle handle)
Parameters
handleURIResponseHandle
Fields
ContentLengthPropertyDefinition
public static readonly Property<ulong, URIResponse> ContentLengthPropertyDefinition
Field Value
HttpHeadersPropertyDefinition
public static readonly Property<MessageHeaders, URIResponse> HttpHeadersPropertyDefinition
Field Value
MimeTypePropertyDefinition
public static readonly Property<string?, URIResponse> MimeTypePropertyDefinition
Field Value
StatusCodePropertyDefinition
public static readonly Property<uint, URIResponse> StatusCodePropertyDefinition
Field Value
SuggestedFilenamePropertyDefinition
public static readonly Property<string?, URIResponse> SuggestedFilenamePropertyDefinition
Field Value
UriPropertyDefinition
public static readonly Property<string?, URIResponse> UriPropertyDefinition
Field Value
Properties
ContentLength
public ulong ContentLength { get; }
Property Value
HttpHeaders
public MessageHeaders HttpHeaders { get; }
Property Value
MimeType
public string? MimeType { get; }
Property Value
StatusCode
public uint StatusCode { get; }
Property Value
SuggestedFilename
public string? SuggestedFilename { get; }
Property Value
Uri
public string? Uri { get; }
Property Value
Methods
GetContentLength()
public ulong GetContentLength()
Returns
GetGType()
public static Type GetGType()
Returns
GetHttpHeaders()
[Version("2.6")]
public MessageHeaders GetHttpHeaders()
Returns
GetMimeType()
public string GetMimeType()
Returns
GetStatusCode()
public uint GetStatusCode()
Returns
GetSuggestedFilename()
public string GetSuggestedFilename()
Returns
GetUri()
public string GetUri()
Returns
NewFromPointer(nint, bool)
Creates a new managed URIResponse instance for a given pointer.
public static URIResponse NewFromPointer(nint ptr, bool ownsHandle)
Parameters
Returns
NewWithProperties(ConstructArgument[])
Creates a new URIResponse and sets the properties specified by the construct arguments.
public static URIResponse NewWithProperties(ConstructArgument[] constructArguments)
Parameters
constructArgumentsConstructArgument[]The properties to set.