Property | Type | Description | |
---|---|---|---|
$fileStream | resource | File stream | |
$streamContext | resource | Stream context |
Method | Description | |
---|---|---|
close ( ) | Closes the streaming connection | |
getContentType ( ) : string | Get response content type | |
getHeaders ( ) : string | Get headers | |
getHttpStatusCode ( ) : string | Get response http status code | |
open ( ) | Opens the connection | |
send ( string $address, string $method, string $body = null ) : string | Sends request |
public getContentType ( ) : string | ||
return | string | Response content type |
public getHttpStatusCode ( ) : string | ||
return | string | Response http code |