interface TransactionContextRequestUrlInterface (View source)

Methods

void
setDomain(string|null $domain)

The domain of the request, e.g. 'example.com'

void
setFull(string|null $full)

The full, possibly agent-assembled URL of the request

void
setOriginal(string|null $original)

The raw, unparsed URL of the HTTP request line, e.g https://example.com:443/search?q=elasticsearch.

void
setPath(string|null $path)

The path of the request, e.g. '/search'

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'

void
setQuery(string|null $query)

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.

Parameters

string|null $domain

Return Value

void

void setFull(string|null $full)

The full, possibly agent-assembled URL of the request

The length of a value is limited to 1024.

Parameters

string|null $full

Return Value

void

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.

Parameters

string|null $original

Return Value

void

void setPath(string|null $path)

The path of the request, e.g. '/search'

The length of a value is limited to 1024.

Parameters

string|null $path

Return Value

void

void setPort(int|null $port)

The port of the request, e.g. 443

Parameters

int|null $port

Return Value

void

void setProtocol(string|null $protocol)

The protocol of the request, e.g. 'http'

The length of a value is limited to 1024.

Parameters

string|null $protocol

Return Value

void

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.

Parameters

string|null $query

Return Value

void