Liking cljdoc? Tell your friends :D

figwheel-sidecar.components.figwheel-server


append-msgclj

(append-msg q msg)
source

ChannelServercljprotocol

-actualclj

(-actual this)

-connection-dataclj

(-connection-data this)

-send-messageclj

(-send-message this channel-id msg-data callback)
source

config-optionsclj

(config-options figwheel-server)
source

connection-dataclj

(connection-data figwheel-server)
source

create-initial-stateclj

(create-initial-state {:keys [unique-id http-server-root server-port server-ip
                              ring-handler resolved-ring-handler
                              open-file-command compile-wait-time
                              ansi-color-output]
                       :as opts})
source

ensure-array-mapclj

(ensure-array-map all-builds)
source

exec-open-file-commandclj

(exec-open-file-command {:keys [open-file-command] :as server-state} msg)
source

extract-cljs-build-fnclj

(extract-cljs-build-fn {:keys [cljs-build-fn]})
source

extract-log-writerclj

(extract-log-writer {:keys [repl server-logfile] :as figwheel-options})
source

figwheel-serverclj

(figwheel-server config-data)
source

get-open-file-commandclj

(get-open-file-command open-file-command
                       {:keys [file-name file-line file-column]})
source

handle-client-msgclj

(handle-client-msg {:keys [browser-callbacks log-writer] :as server-state} data)
source

handle-figwheel-websocketclj

(handle-figwheel-websocket handler server-state)
source

handle-indexclj

(handle-index handler root)
source

handle-static-resourcesclj

(handle-static-resources handler root)
source

log-output-to-figwheel-server-logclj

(log-output-to-figwheel-server-log handler log-writer)
source

parse-build-idclj

(parse-build-id uri)
source

possible-endpointclj

(possible-endpoint handler possible-fn)
source

prep-messageclj

(prep-message {:keys [unique-id] :as this} channel-id msg-data callback)
source

read-msgclj

(read-msg data)
source

reload-handlerclj

(reload-handler server-state)
source

send-messageclj

(send-message figwheel-server channel-id msg-data)
source

send-message-with-callbackclj

(send-message-with-callback figwheel-server channel-id msg-data callback)
source

serverclj

(server {:keys [server-port server-ip http-server-root resolved-ring-handler
                log-writer]
         :as server-state})

This is the server. It is complected and its OK. Its trying to be a basic devel server and also provides the figwheel websocket connection.

This is the server. It is complected and its OK. Its trying to be a basic devel server and
also provides the figwheel websocket connection.
sourceraw docstring

setup-callbackclj

(setup-callback {:keys [browser-callbacks]} {:keys [callback] :as msg-data})
source

setup-file-change-senderclj

(setup-file-change-sender
  {:keys [file-change-atom compile-wait-time connection-count] :as server-state}
  {:keys [desired-build-id] :as params}
  wschannel)
source

start-serverclj

(start-server)
(start-server opts)
source

stop-serverclj

(stop-server {:keys [http-server]})
source

update-connection-countclj

(update-connection-count connection-count build-id f)
source

validate-file-selected-msgclj

(validate-file-selected-msg {:keys [file-name file-line file-column] :as msg})
source

wrap-no-cacheclj

(wrap-no-cache handler)

Add 'Cache-Control: no-cache' to responses. This allows the client to cache the response, but requires it to check with the server every time to make sure that the response is still valid, before using the locally cached file.

This avoids stale files being served because of overzealous browser caching, while still speeding up load times by caching files.

Add 'Cache-Control: no-cache' to responses.
This allows the client to cache the response, but
requires it to check with the server every time to make
sure that the response is still valid, before using
the locally cached file.

This avoids stale files being served because of overzealous
browser caching, while still speeding up load times by caching
files.
sourceraw docstring

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

× close