supranim

Search:
Group by:

Macros

macro runBaseMiddlewares(req, res)
This macro is used to run the base middlewares for the application

Templates

template getBaseMiddlewares(req, res)
template run(app: Application)
Runs the Supranim application server without an optional block.
template run(app: Application; optionalBlock: untyped) {.dirty.}
Runs the Supranim application server. You can provide an optional block to customize the server startup process.

Exports

Services, services, getPort, migrationPath, configPath, p, getInstallationPath, getAddress, middlewarePath, initHttpRouter, appInstance, resolve, storagePath, Application, initApplication, appInitialized, JsonString, consolePath, withAssetsHandler, databasePath, config, init, pluginsPath, App, logsPath, runtimeConfigPath, basePath, info, getUuid, modelPath, supranimServer, servicePath, cli, ApplicationAssetsHandler, initStartCommand, loadEventListeners, eventsPath, init, controllerPath, AppConfigDefect, ApplicationPaths, cachePath, rootPath, sendChunk, findHeader, getBody, getQuery, sendFile, getIp, send, addHeader, StartupCallback, BodyStream, getOutputHeaders, removeHeader, addEvent, getBodyStream, newWebServer, startChunk, withChunks, WebServer, drainChunk, getHeaders, streamFile, OnRequest, getHeader, Request, startPartialChunk, clearHeaders, readChunk, addCallback, addCallback, send, sendFile, send, start, endChunk, runServer, getMethod, peekChunk, start, start, setOnMessage, WebSocketConnection, websocketUpgrade, close, sendText, sendBinary, sendPing, setOnError, sendText, OpenCb, sendFrame, close, sendBinary, setOnClose, WebSocketConnectionImpl, sendFrame, MessageCb, WebSocketFrameKind, CloseCb, setOnOpen, sendPing, ErrorCb, resolveMiddleware, Afterware, baseMiddlewares, searchRouteWs, routes, HttpRouterInstance, HttpRouterError, initRouterErrorHandlers, DefaultHttpError, checkExists, Middleware, preparePath, Callable, resolveAfterware, Router, registerRoute, queuedRoutes, HttpRoute, errorHandler, HttpRouteWs, newHttpRouter, httpMethods, call4xx, HttpRouteType, parseRouteNode, checkWsExists, sendEmbeddedAsset, sendAssets, sendAssets, getEventEmitterInstance, listener, init, OnInitSingletonCallback`gensym0`gensym5, event, $, releaseUnusedMemory