TransactionContextRequestUrlInterface
interface TransactionContextRequestUrlInterface (View source)
Methods
The domain of the request, e.g. 'example.com'
The full, possibly agent-assembled URL of the request
The raw, unparsed URL of the HTTP request line, e.g https://example.com:443/search?q=elasticsearch.
The path of the request, e.g. '/search'
The port of the request, e.g. 443
The protocol of the request, e.g. 'http'
Sets the query string information of the request.
Details
void
setDomain(string|null $domain)
The domain of the request, e.g. 'example.com'
The length of a value is limited to 1024.
void
setFull(string|null $full)
The full, possibly agent-assembled URL of the request
The length of a value is limited to 1024.
void
setOriginal(string|null $original)
The raw, unparsed URL of the HTTP request line, e.g https://example.com:443/search?q=elasticsearch.
This URL may be absolute or relative. For more details, see https://www.w3.org/Protocols/rfc2616/rfc2616-sec5.html#sec5.1.2
The length of a value is limited to 1024.
void
setPath(string|null $path)
The path of the request, e.g. '/search'
The length of a value is limited to 1024.
void
setPort(int|null $port)
The port of the request, e.g. 443
void
setProtocol(string|null $protocol)
The protocol of the request, e.g. 'http'
The length of a value is limited to 1024.
void
setQuery(string|null $query)
Sets the query string information of the request.
It is expected to have values delimited by ampersands.
The length of a value is limited to 1024.