C# Class NG.HttpClient.HttpExtension

Afficher le fichier Open project: Naphier/NGTools

Méthodes publiques

Méthode Description
EscapeHttpUrl ( string host, string path, bool https ) : string
EscapeHttpUrl ( string host, string path, bool https, string user, string password ) : string
GetRequestHeader ( WWWForm wwwForm ) : string
SetAuthHeader ( string>.Dictionary &headers, string user, string password ) : void

Private Methods

Méthode Description
GetHttpProtocol ( bool https ) : string
GetPath ( string path ) : string

Method Details

EscapeHttpUrl() public static méthode

public static EscapeHttpUrl ( string host, string path, bool https ) : string
host string
path string
https bool
Résultat string

EscapeHttpUrl() public static méthode

public static EscapeHttpUrl ( string host, string path, bool https, string user, string password ) : string
host string
path string
https bool
user string
password string
Résultat string

GetRequestHeader() public static méthode

public static GetRequestHeader ( WWWForm wwwForm ) : string
wwwForm UnityEngine.WWWForm
Résultat string

SetAuthHeader() public static méthode

public static SetAuthHeader ( string>.Dictionary &headers, string user, string password ) : void
headers string>.Dictionary
user string
password string
Résultat void