Instream v0.20.0 Instream.Query.URL View Source
URL Utility.
Link to this section Summary
Functions
Appends authentication credentials to a URL.
Appends a database to a URL.
Appends an epoch value to a URL.
Appends a precision value to a URL.
Appends a query to a URL.
Appends a retention policy to a URL.
Returns the proper URL for a :ping
request.
Returns the proper URL for a :query
request.
Returns the proper URL for a :status
request.
Returns the proper URL for a :write
request.
Link to this section Functions
append_auth(url, auth) View Source
Appends authentication credentials to a URL.
append_database(url, database) View Source
Appends a database to a URL.
append_epoch(url, epoch)
View Source
append_epoch(String.t(), Instream.Encoder.Precision.t()) :: String.t()
append_epoch(String.t(), Instream.Encoder.Precision.t()) :: String.t()
Appends an epoch value to a URL.
The allowed values are identical to the precision parameters of write queries.
append_precision(url, precision)
View Source
append_precision(String.t(), Instream.Encoder.Precision.t()) :: String.t()
append_precision(String.t(), Instream.Encoder.Precision.t()) :: String.t()
Appends a precision value to a URL.
append_query(url, query) View Source
Appends a query to a URL.
append_retention_policy(url, policy) View Source
Appends a retention policy to a URL.
ping(config, host \\ nil) View Source
Returns the proper URL for a :ping
request.
query(config, arg2) View Source
Returns the proper URL for a :query
request.
status(config, host \\ nil) View Source
Returns the proper URL for a :status
request.
write(config) View Source
Returns the proper URL for a :write
request.