cohtml.Net.ResourceRequest
Encapsulates a resource request.
Inherits from SystemIDisposable
Public Classes
Section titled “Public Classes”| Name | |
|---|---|
| class | FallbackURLsData |
Public Types
Section titled “Public Types”| Name | |
|---|---|
| enum class | ResourceType { Font, Other} |
Public Functions
Section titled “Public Functions”| Name | |
|---|---|
| virtual void | Dispose() |
| ResourceRequest() | |
| virtual uint | GetId() The ID of the request. |
| virtual string | GetURL() Absolute URL taking into account the current URL of the View. |
| virtual string | GetMethod() Get the request method. |
| virtual string | GetUsername() Get the username (optional) |
| virtual string | GetPassword() Get the password (optional) |
| virtual string | GetHeaderValue(string name) Returns the value of a particular header if exists. |
| virtual uint | GetHeadersCount() Returns the count of all headers in the request. |
| virtual string | GetHeaderName(uint id) Returns the name of the header at id. |
| virtual string | GetHeaderValue(uint id) Returns the value of a particular header if exists. |
| virtual string | GetBody() Returns pointer to the request body. |
| virtual uint | GetBodySize() Get the length of the request body. |
| virtual ResourceRequest.ResourceType | GetResourceType() Get the type of resource that was requested. |
| virtual ResourceRequest.FallbackURLsData | GetFallbackURLs() |
| delegate uint | SwigDelegateResourceRequest_0(global.System.IntPtr swigId) |
| delegate string | SwigDelegateResourceRequest_1(global.System.IntPtr swigId) |
| delegate string | SwigDelegateResourceRequest_2(global.System.IntPtr swigId) |
| delegate string | SwigDelegateResourceRequest_3(global.System.IntPtr swigId) |
| delegate string | SwigDelegateResourceRequest_4(global.System.IntPtr swigId) |
| delegate string | SwigDelegateResourceRequest_5(string name, global.System.IntPtr swigId) |
| delegate uint | SwigDelegateResourceRequest_6(global.System.IntPtr swigId) |
| delegate string | SwigDelegateResourceRequest_7(uint id, global.System.IntPtr swigId) |
| delegate string | SwigDelegateResourceRequest_8(uint id, global.System.IntPtr swigId) |
| delegate string | SwigDelegateResourceRequest_9(global.System.IntPtr swigId) |
| delegate uint | SwigDelegateResourceRequest_10(global.System.IntPtr swigId) |
| delegate int | SwigDelegateResourceRequest_11(global.System.IntPtr swigId) |
| delegate global.System.IntPtr | SwigDelegateResourceRequest_12(global.System.IntPtr swigId) |
Protected Attributes
Section titled “Protected Attributes”| Name | |
|---|---|
| bool | swigCMemOwn |
Public Types Documentation
Section titled “Public Types Documentation”enum ResourceType
Section titled “enum ResourceType”| Enumerator | Value | Description |
|---|---|---|
| Font | ||
| Other |
Public Functions Documentation
Section titled “Public Functions Documentation”function Dispose
Section titled “function Dispose”virtual void Dispose()function ResourceRequest
Section titled “function ResourceRequest”ResourceRequest()function GetId
Section titled “function GetId”virtual uint GetId()The ID of the request.
function GetURL
Section titled “function GetURL”virtual string GetURL()Absolute URL taking into account the current URL of the View.
function GetMethod
Section titled “function GetMethod”virtual string GetMethod()Get the request method.
function GetUsername
Section titled “function GetUsername”virtual string GetUsername()Get the username (optional)
function GetPassword
Section titled “function GetPassword”virtual string GetPassword()Get the password (optional)
function GetHeaderValue
Section titled “function GetHeaderValue”virtual string GetHeaderValue( string name)Returns the value of a particular header if exists.
function GetHeadersCount
Section titled “function GetHeadersCount”virtual uint GetHeadersCount()Returns the count of all headers in the request.
function GetHeaderName
Section titled “function GetHeaderName”virtual string GetHeaderName( uint id)Returns the name of the header at id.
function GetHeaderValue
Section titled “function GetHeaderValue”virtual string GetHeaderValue( uint id)Returns the value of a particular header if exists.
function GetBody
Section titled “function GetBody”virtual string GetBody()Returns pointer to the request body.
function GetBodySize
Section titled “function GetBodySize”virtual uint GetBodySize()Get the length of the request body.
function GetResourceType
Section titled “function GetResourceType”virtual ResourceRequest.ResourceType GetResourceType()Get the type of resource that was requested.
function GetFallbackURLs
Section titled “function GetFallbackURLs”virtual ResourceRequest.FallbackURLsData GetFallbackURLs()function SwigDelegateResourceRequest_0
Section titled “function SwigDelegateResourceRequest_0”delegate uint SwigDelegateResourceRequest_0( global.System.IntPtr swigId)function SwigDelegateResourceRequest_1
Section titled “function SwigDelegateResourceRequest_1”delegate string SwigDelegateResourceRequest_1( global.System.IntPtr swigId)function SwigDelegateResourceRequest_2
Section titled “function SwigDelegateResourceRequest_2”delegate string SwigDelegateResourceRequest_2( global.System.IntPtr swigId)function SwigDelegateResourceRequest_3
Section titled “function SwigDelegateResourceRequest_3”delegate string SwigDelegateResourceRequest_3( global.System.IntPtr swigId)function SwigDelegateResourceRequest_4
Section titled “function SwigDelegateResourceRequest_4”delegate string SwigDelegateResourceRequest_4( global.System.IntPtr swigId)function SwigDelegateResourceRequest_5
Section titled “function SwigDelegateResourceRequest_5”delegate string SwigDelegateResourceRequest_5( string name, global.System.IntPtr swigId)function SwigDelegateResourceRequest_6
Section titled “function SwigDelegateResourceRequest_6”delegate uint SwigDelegateResourceRequest_6( global.System.IntPtr swigId)function SwigDelegateResourceRequest_7
Section titled “function SwigDelegateResourceRequest_7”delegate string SwigDelegateResourceRequest_7( uint id, global.System.IntPtr swigId)function SwigDelegateResourceRequest_8
Section titled “function SwigDelegateResourceRequest_8”delegate string SwigDelegateResourceRequest_8( uint id, global.System.IntPtr swigId)function SwigDelegateResourceRequest_9
Section titled “function SwigDelegateResourceRequest_9”delegate string SwigDelegateResourceRequest_9( global.System.IntPtr swigId)function SwigDelegateResourceRequest_10
Section titled “function SwigDelegateResourceRequest_10”delegate uint SwigDelegateResourceRequest_10( global.System.IntPtr swigId)function SwigDelegateResourceRequest_11
Section titled “function SwigDelegateResourceRequest_11”delegate int SwigDelegateResourceRequest_11( global.System.IntPtr swigId)function SwigDelegateResourceRequest_12
Section titled “function SwigDelegateResourceRequest_12”delegate global.System.IntPtr SwigDelegateResourceRequest_12( global.System.IntPtr swigId)Protected Attributes Documentation
Section titled “Protected Attributes Documentation”variable swigCMemOwn
Section titled “variable swigCMemOwn”bool swigCMemOwn;© 2026 Coherent Labs. All rights reserved.