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)

    Declaration
    public PvpHttpClient(string userAgent)
    Parameters
    Type Name Description
    string userAgent

    PvpHttpClient(string, bool)

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

    Methods

    GetStream(string, out int)

    Perform a HTTP GET request to the given URL, returning the HTTP status code and the response body as a stream.

    Declaration
    public Stream GetStream(string url, out int status)
    Parameters
    Type Name Description
    string url
    int status
    Returns
    Type Description
    Stream

    Implements

    IPvpHttpClient

    Extension Methods

    PvpHttpClientExtensions.GetArray(IPvpHttpClient, string, out int, out byte[], out int)
    PvpHttpClientExtensions.GetString(IPvpHttpClient, string, out 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)