Class RequestInterceptor

    Definition

    Namespace:
    Tizen.WebView
    Assembly:
    Tizen.WebView.dll

    This class provides methods and properties to handle a interpected request.

    public class RequestInterceptor
    Inheritance
    object
    RequestInterceptor

    Properties

    View Source

    Url

    The URL of the request.

    Declaration
    public Uri Url { get; }
    Property Value
    Type Description
    Uri

    Methods

    View Source

    Ignore()

    Ignores the request, so WebView will load it.

    Declaration
    public void Ignore()
    View Source

    SetResponse(string, string, int, string, IDictionary<string, string>, Stream)

    Sets headers and data for the response.

    Declaration
    public 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.

    int 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.

    Extension Methods

    EXamlExtensions.LoadFromEXaml<T>(T, string)
    EXamlExtensions.LoadFromEXamlByRelativePath<T>(T, string)
    EXamlExtensions.LoadFromEXamlPath<TXaml>(TXaml, string)
    EXamlExtensions.LoadFromEXamlPath<T>(T, Type)
    Extensions.LoadFromXaml<TXaml>(TXaml, string)
    Extensions.LoadFromXaml<TXaml>(TXaml, Type)
    Extensions.LoadFromXamlFile<TXaml>(TXaml, string)
    • View Source
    Back to top Copyright © 2016-2025 Samsung
    Generated by DocFX