meson.client

Documentation forthcoming

->base-client

(->base-client)(->base-client fs)

Unlike ->ClientAPI, this factory function takes a map of the client fields as a single argument. As such, it is essentially an alias for map->ClientAPI. An important difference is that if no argument is given, the default base client map, base-client-fields, is used.

add-host

(add-host host-port fields)

add-host-port

(add-host-port host-port fields)

add-port

(add-port host-port fields)

check-fields

(check-fields fields)

client-behaviour

Documentation forthcoming

ClientAPI

protocol

members

get-context

(get-context this)

Get the context for this client, calculated using :base-path and :version.

get-url

(get-url this path)

Get the context-based url for the client.

fields

Fields are maintained separately from the record so that they may be re-used by concrete clients (e.g., Scheduler and Executor clients).

get-host-port

(get-host-port fields)

user-agent

Documentation forthcoming