HttpClient
class HttpClient (View source)
Methods
void
__construct(string $url = null)
HttpClient Constructor.
mixed
addAttach(string $attach)
Attach new file
addHeaders(array $headers)
Add aditionnal header
Details
void
__construct(string $url = null)
HttpClient Constructor.
Parser
get(string $url, array $data = [])
Make get requete
Parser
post(string $url, array $data = [])
make post requete
Parser
put(string $url, array $data = [])
Make put requete
mixed
addAttach(string $attach)
Attach new file
HttpClient
addHeaders(array $headers)
Add aditionnal header