/// <summary> /// Initializes a TinyHttpRequest instance with a user-defined HttpEncryptionLevel, and a GET request type. /// </summary> /// <param name="url"></param> /// <param name="encryptionLevel"></param> public HttpRequest(string url, HttpEncryptionLevel encryptionLevel) : this(url, new HttpRequestData(HttpRequestType.Get, encryptionLevel)) { }
public HttpRequestData(HttpRequestType type, HttpEncryptionLevel encryptionLevel) { this.Type = type; this.Level = encryptionLevel; }
/// <summary> /// Initializes a TinyHttpRequest instance with a user-defined HttpRequestType and a user-defined HttpEncryptionLevel. /// Basically the same thing as using TinyHttpRequest(string, HttpRequestData). /// </summary> /// <param name="url"></param> /// <param name="reqType"></param> /// <param name="encLevel"></param> public HttpRequest(string url, HttpRequestType reqType, HttpEncryptionLevel encLevel) : this(url, new HttpRequestData(reqType, encLevel)) { }