Skip to main content

Class: VrameworkExpressServer

Constructors

new VrameworkExpressServer()

new VrameworkExpressServer(
config,
singletonServices,
createSessionServices): VrameworkExpressServer

Parameters

config: CoreServerConfig

singletonServices: CoreSingletonServices

createSessionServices: CreateSessionServices<any, any, any>

Returns

VrameworkExpressServer

Defined in

packages/servers/express/express-server/src/vramework-express-server.ts:28

Properties

app

app: Express;

Defined in

packages/servers/express/express-server/src/vramework-express-server.ts:25

Methods

enableCors()

enableCors(options): void

Parameters

options: CorsOptions | CorsOptionsDelegate

Returns

void

Defined in

packages/servers/express/express-server/src/vramework-express-server.ts:63


enableExitOnSigInt()

enableExitOnSigInt(): Promise<void>

Returns

Promise<void>

Defined in

packages/servers/express/express-server/src/vramework-express-server.ts:107


enableStaticAssets()

enableStaticAssets(assetsUrl, contentDirectory): void

Parameters

assetsUrl: string

contentDirectory: string

Returns

void

Defined in

packages/servers/express/express-server/src/vramework-express-server.ts:67


init()

init(): Promise<void>

Returns

Promise<void>

Defined in

packages/servers/express/express-server/src/vramework-express-server.ts:71


start()

start(): Promise<void>

Returns

Promise<void>

Defined in

packages/servers/express/express-server/src/vramework-express-server.ts:81


stop()

stop(): Promise<void>

Returns

Promise<void>

Defined in

packages/servers/express/express-server/src/vramework-express-server.ts:96