Liking cljdoc? Tell your friends :D

clj-sse-client.event


+dispatch+clj

source

+ignore+clj

source

-conform-valueclj

(-conform-value value)

Collect the characters on the line after the first U+003A COLON character (:), and let value be that string. If value starts with a U+0020 SPACE character, remove it from value.

Collect the characters on the line after the first U+003A COLON
character (:), and let value be that string. If value starts with a
U+0020 SPACE character, remove it from value.
sourceraw docstring

-parse-dispatchclj

(-parse-dispatch field value)
source

Dataclj

source

Dispatchclj

source

effectclj

(effect state event)
source

Eventclj

source

Idclj

source

IEffectcljprotocol

-effectclj

(-effect this state)
source

Ignoreclj

source

IStatecljprotocol

-acceptclj

(-accept state event)

-emitclj

(-emit state event)
source

IStepcljprotocol

-stepclj

(-step this state)
source

Messageclj

source

non-emptyclj

(non-empty s)
source

not-blankclj

(not-blank s)
source

parseclj

(parse line)

If the line is empty (a blank line)

  • Dispatch the event, as defined below.

If the line starts with a U+003A COLON character (:)

  • Ignore the line.

If the line contains a U+003A COLON character (:)

  • Collect the characters on the line before the first U+003A COLON character (:), and let field be that string.
  • Collect the characters on the line after the first U+003A COLON character (:), and let value be that string. If value starts with a U+0020 SPACE character, remove it from value.
  • Process the field using the steps described below, using field as the field name and value as the field value.

Otherwise, the string is not empty but does not contain a U+003A COLON character (:)

  • Process the field using the steps described below, using the whole line as the field name, and the empty string as the field value.
If the line is empty (a blank line)
- Dispatch the event, as defined below.

If the line starts with a U+003A COLON character (:)
- Ignore the line.

If the line contains a U+003A COLON character (:)
- Collect the characters on the line before the first U+003A COLON
  character (:), and let field be that string.
- Collect the characters on the line after the first U+003A COLON
  character (:), and let value be that string. If value starts with a
  U+0020 SPACE character, remove it from value.
- Process the field using the steps described below, using field as the
  field name and value as the field value.

Otherwise, the string is not empty but does not contain a U+003A COLON character (:)
- Process the field using the steps described below, using the whole
  line as the field name, and the empty string as the field value.
sourceraw docstring

parse-intclj

(parse-int s)
source

Retryclj

source

Stateclj

source

stepclj

(step state event)
source

Unsetclj

source

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

× close