Class: JupyterServer

server.JupyterServer

A (very, very) simplified Jupyter Server running in the browser.

Constructors

constructor

new JupyterServer(options)

Construct a new JupyterServer.

Parameters

Name

Type

options

IOptions

Defined in

packages/server/lib/server.d.ts:9

Properties

_addRoutes

Private _addRoutes: any

Add the routes.

Defined in

packages/server/lib/server.d.ts:24


_contents

Private _contents: any

Defined in

packages/server/lib/server.d.ts:26


_kernels

Private _kernels: any

Defined in

packages/server/lib/server.d.ts:27


_kernelspecs

Private _kernelspecs: any

Defined in

packages/server/lib/server.d.ts:28


_router

Private _router: any

Defined in

packages/server/lib/server.d.ts:25


_sessions

Private _sessions: any

Defined in

packages/server/lib/server.d.ts:29


_settings

Private _settings: any

Defined in

packages/server/lib/server.d.ts:30


_translation

Private _translation: any

Defined in

packages/server/lib/server.d.ts:31

Methods

fetch

fetch(req, init?): Promise<Response>

Handle an incoming request from the client.

Parameters

Name

Type

Description

req

RequestInfo

The incoming request

init?

null | RequestInit

The optional init request

Returns

Promise<Response>

Defined in

packages/server/lib/server.d.ts:20