docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Class PvpHttpClient

    Inheritance
    object
    PvpHttpClient
    Implements
    IPvpHttpClient
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: PvpXray
    Assembly: PvpXray.dll
    Syntax
    public class PvpHttpClient : IPvpHttpClient

    Constructors

    PvpHttpClient(string, bool)

    Declaration
    public PvpHttpClient(string userAgent, bool cache)
    Parameters
    Type Name Description
    string userAgent
    bool cache

    Methods

    Get(string)

    Perform a HTTP GET request to the given URL. Does not check HTTP status.

    Declaration
    public PvpHttpResponse Get(string url)
    Parameters
    Type Name Description
    string url
    Returns
    Type Description
    PvpHttpResponse
    Exceptions
    Type Condition
    PvpHttpException

    A network or protocol error occurred when sending the request or reading the response, or the response body exceeded MaxByteArrayLength bytes.

    Implements

    IPvpHttpClient

    Extension Methods

    PvpHttpClientExtensions.GetCheckStatus(IPvpHttpClient, string, int)
    PvpHttpClientExtensions.GetCheckStatus(IPvpHttpClient, string, int, int)
    In This Article
    Back to top
    Copyright © 2024 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)