Liking cljdoc? Tell your friends :D

dots.typescript.server.protocol.response

Response by server to client request message.

Response by server to client request message.
raw docstring

bodycljs

(body response)

Contains message body if success === true.

Returns: any

Contains message body if success === true.

**Returns:** `any`
sourceraw docstring

commandcljs

(command response)

The command requested.

Returns: string

The command requested.

**Returns:** `string`
sourceraw docstring

messagecljs

(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`
sourceraw docstring

metadatacljs

(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`
sourceraw docstring

performance-datacljs

(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`
sourceraw docstring

request-seqcljs

(request-seq response)

Sequence number of the request message.

Returns: number

Sequence number of the request message.

**Returns:** `number`
sourceraw docstring

seqcljs

(seq response)

Sequence number of the message

Returns: number

Sequence number of the message

**Returns:** `number`
sourceraw docstring

set-body!cljs

(set-body! response value)

Contains message body if success === true.

Contains message body if success === true.
sourceraw docstring

set-command!cljs

(set-command! response value)

The command requested.

The command requested.
sourceraw docstring

set-message!cljs

(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.
sourceraw docstring

set-metadata!cljs

(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
sourceraw docstring

set-performance-data!cljs

(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.
sourceraw docstring

set-request-seq!cljs

(set-request-seq! response value)

Sequence number of the request message.

Sequence number of the request message.
sourceraw docstring

set-seq!cljs

(set-seq! response value)

Sequence number of the message

Sequence number of the message
sourceraw docstring

set-success!cljs

(set-success! response value)

Outcome of the request.

Outcome of the request.
sourceraw docstring

set-type!cljs

(set-type! response value)
source

success?cljs

(success? response)

Outcome of the request.

Returns: boolean

Outcome of the request.

**Returns:** `boolean`
sourceraw docstring

typecljs

(type response)

Returns: "response"

**Returns:** `"response"`
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close