Class RequestInterceptor
Definition
- Namespace:
- Tizen.WebView
- Assembly:
- Tizen.WebView.dll
- API Level:
- 8
This class provides methods and properties to handle a interpected request.
C#Copypublic class RequestInterceptor : object
- Inheritance
-
RequestInterceptor
Properties
Declaration
C#Copypublic Uri Url { get; }
Property Value
Type | Description |
---|---|
Uri |
API Level: 8
Methods
Declaration
C#Copypublic void Ignore()
API Level: 8
View Source
SetResponse(String, String, Int32, String, IDictionary<String, String>, Stream)
Sets headers and data for the response.
Declaration
C#Copypublic void SetResponse(string mimeType, string encoding, int statusCode, string reasonPhrase, IDictionary<string, string> responseHeaders, Stream data)
Parameters
Type | Name | Description |
---|---|---|
String | mimeType | Response's mime type. |
String | encoding | Response's character encoding. |
Int32 | statusCode | HTTP response status code. |
String | reasonPhrase | HTTP response reason phrase. |
IDictionary<String, String> | responseHeaders | Headers Map from HTTP header field names to field values. |
Stream | data | The streiam that provides the response's data. |