url
Main class that implements HTTP GET request, HTTP POST request, etc. Note: This class is not instantiatable, please use constant url
instead
class url
This class does not inherit to any class.
This class does not have attributes.
decode()
— Convert an encoded URL string to plain string encode()
— Convert a string to URL encoded string follow_location()
— Global configuration: set the HTTP 3xx follow redirects on or off get()
— Perform HTTP GET request post()
— Perform HTTP POST request proxy()
— Global configuration: set the proxy to use ssl_cainfo()
— Global configuration: set the path to Certificate Authority (CA) bundle ssl_capath()
— Global configuration: set the directory that holds CA certificates ssl_verify_host()
— Global configuration: set the verify of the SSL certificate's name against host ssl_verify_peer()
— Global configuration: set the verify of the peer's SSL certificate verbose()
— Global configuration: set verbose mode on or off