telega ~master (2021-06-18T23:53:05Z)
Dub
Repo
RequestsHttpClient
telega
drivers
requests
Undocumented in source.
static if
(
HaveRequestsDriver
)
class
RequestsHttpClient :
HttpClient
{
import
core
.
time
;
;
protected
string
proxyHost
;
protected
ushort
proxyPort
;
this
();
string
sendGetRequest
(string url);
string
sendPostRequestJson
(string url, string bodyJson);
void
setProxy
(string host, ushort port);
}
Constructors
this
this
()
Undocumented in source.
Members
Functions
sendGetRequest
string
sendGetRequest
(string url)
Undocumented in source. Be warned that the author may not have intended to support it.
sendPostRequestJson
string
sendPostRequestJson
(string url, string bodyJson)
Undocumented in source. Be warned that the author may not have intended to support it.
setProxy
void
setProxy
(string host, ushort port)
Undocumented in source. Be warned that the author may not have intended to support it.
Variables
proxyHost
string
proxyHost
;
Undocumented in source.
proxyPort
ushort
proxyPort
;
Undocumented in source.
Inherited Members
From HttpClient
sendGetRequest
string
sendGetRequest
(string url)
Undocumented in source.
sendPostRequestJson
string
sendPostRequestJson
(string url, string bodyJson)
Undocumented in source.
Meta
Source
See Implementation
telega
drivers
requests
classes
RequestsHttpClient
manifest constants
HaveRequestsDriver