API functionality that can be accessed by the build script. This can either be part of the public API, or exposed through a UDS from the build runner. The script API does not have security on its own, since the implementation will take care of this. The script API exposes an OpenAPI spec, which is then fetched by the script, so it knows which services are available.
API functionality that can be accessed by the build script. This can either be part of the public API, or exposed through a UDS from the build runner. The script API does not have security on its own, since the implementation will take care of this. The script API exposes an OpenAPI spec, which is then fetched by the script, so it knows which services are available.
(listen-at-socket path ctx)
Starts a script api that is listening at given socket path
Starts a script api that is listening at given socket path
(local-api {:keys [storage] :as rt})
Local api implementation. This is used as a backend for the script API server when it is run locally. It retrieves all information directly from local storage.
Local api implementation. This is used as a backend for the script API server when it is run locally. It retrieves all information directly from local storage.
(start-server {:keys [http] :as opts})
Starts a http server using the given options to configure the routes and the server.
Returns an org.httpkit.server.IHttpServer
object.
Starts a http server using the given options to configure the routes and the server. Returns an `org.httpkit.server.IHttpServer` object.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close