Метод | Описание | |
---|---|---|
close ( ) | Closes the connection | |
getContentType ( ) : string | Get content type from response | |
getHttpStatusCode ( ) : string | Get http status code from response | |
open ( ) | Opens the connection | |
send ( string $address, string $method, string $body = null ) : string | Sends request |
public getContentType ( ) : string | ||
Результат | string | Content type |
public getHttpStatusCode ( ) : string | ||
Результат | string | Status code |