Response by server to client request message.
Response by server to client request message.
(body response)
Contains message body if success === true.
Returns: any
Contains message body if success === true. **Returns:** `any`
(command response)
The command requested.
Returns: string
The command requested. **Returns:** `string`
(message response)
If success === false, this should always be provided. Otherwise, may (or may not) contain a success message.
Returns: string | undefined
If success === false, this should always be provided. Otherwise, may (or may not) contain a success message. **Returns:** `string | undefined`
(metadata response)
Contains extra information that plugin can include to be passed on
Returns: unknown
Contains extra information that plugin can include to be passed on **Returns:** `unknown`
(performance-data response)
Exposes information about the performance of this request-response pair.
Returns: PerformanceData | undefined
Exposes information about the performance of this request-response pair. **Returns:** `PerformanceData | undefined`
(request-seq response)
Sequence number of the request message.
Returns: number
Sequence number of the request message. **Returns:** `number`
(seq response)
Sequence number of the message
Returns: number
Sequence number of the message **Returns:** `number`
(set-body! response value)
Contains message body if success === true.
Contains message body if success === true.
(set-command! response value)
The command requested.
The command requested.
(set-message! response value)
If success === false, this should always be provided. Otherwise, may (or may not) contain a success message.
If success === false, this should always be provided. Otherwise, may (or may not) contain a success message.
(set-metadata! response value)
Contains extra information that plugin can include to be passed on
Contains extra information that plugin can include to be passed on
(set-performance-data! response value)
Exposes information about the performance of this request-response pair.
Exposes information about the performance of this request-response pair.
(set-request-seq! response value)
Sequence number of the request message.
Sequence number of the request message.
(set-seq! response value)
Sequence number of the message
Sequence number of the message
(set-success! response value)
Outcome of the request.
Outcome of the request.
(success? response)
Outcome of the request.
Returns: boolean
Outcome of the request. **Returns:** `boolean`
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close