AbstractRequest
abstract class AbstractRequest implements ProvidesRequestData
Class AbstractRequest
Constants
| private DEFAULT_CONTENT_TYPE |
|
Methods
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Returns the content type that was set explicitly, otherwise the content type of the request content.
No description
No description
No description
No description
No description
No description
No description
No description
The length is determined from the current state of the request content on every call, so it is still correct if the content object was changed after it was passed to the request.
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
No description
Details
at line 63
__construct(string $scriptFilename, ComposesRequestContent|null $content = null)
No description
at line 73
string
getServerSoftware()
No description
at line 78
void
setServerSoftware(string $serverSoftware)
No description
at line 83
string
getRemoteAddress()
No description
at line 88
void
setRemoteAddress(string $remoteAddress)
No description
at line 93
int
getRemotePort()
No description
at line 98
void
setRemotePort(int $remotePort)
No description
at line 103
string
getServerAddress()
No description
at line 108
void
setServerAddress(string $serverAddress)
No description
at line 113
int
getServerPort()
No description
at line 118
void
setServerPort(int $serverPort)
No description
at line 123
string
getServerName()
No description
at line 128
void
setServerName(string $serverName)
No description
at line 133
string
getServerProtocol()
No description
at line 138
void
setServerProtocol(string $serverProtocol)
No description
at line 146
string
getContentType()
Returns the content type that was set explicitly, otherwise the content type of the request content.
at line 151
void
setContentType(string $contentType)
No description
at line 156
ComposesRequestContent|null
getContent()
No description
at line 161
void
setContent(ComposesRequestContent $content)
No description
at line 167
void
setCustomVar(string $key, mixed $value)
No description
at line 175
void
addCustomVars(array $vars)
No description
at line 180
void
resetCustomVars()
No description
at line 188
array
getCustomVars()
No description
at line 193
string
getGatewayInterface()
No description
at line 198
string
getScriptFilename()
No description
at line 207
int
getContentLength()
The length is determined from the current state of the request content on every call, so it is still correct if the content object was changed after it was passed to the request.
at line 215
array
getParams()
No description
at line 269
array
getQueryParams()
No description
at line 277
void
setQueryParams(array $queryParams)
No description
at line 282
string
getQueryString()
No description
at line 287
string
getRequestUri()
No description
at line 292
void
setRequestUri(string $requestUri)
No description
at line 300
array
getResponseCallbacks()
No description
at line 305
void
addResponseCallbacks(callable ...$callbacks)
No description
at line 313
array
getFailureCallbacks()
No description
at line 318
void
addFailureCallbacks(callable ...$callbacks)
No description
at line 326
array
getPassThroughCallbacks()
No description
at line 331
void
addPassThroughCallbacks(callable ...$callbacks)
No description