Ol'ista Website Builder
16 nodes
On this page 16
Create Directory Browser Capability
FunctionThis node carries no documentation.
CreateDirectoryBrowserCapability -> Directory Browser Capability
rootFolder: Text
requestPath: Text
serveFiles: Truth
serveDefaultFiles: Truth
serveUnknownFileTypes: TruthDirectoryBrowserCapability CreateDirectoryBrowserCapability(
string rootFolder,
string requestPath = "",
bool serveFiles = true,
bool serveDefaultFiles = false,
bool serveUnknownFileTypes = false)Parameters
| name | type | default | description |
|---|---|---|---|
| rootFolder | Text | — | |
| requestPath | Text | — | |
| serveFiles | Truth | True | |
| serveDefaultFiles | Truth | False | |
| serveUnknownFileTypes | Truth | False |
Returns
| result | Directory Browser Capability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Create Directory Service Capability
FunctionThis node carries no documentation.
CreateDirectoryServiceCapability -> DirectoryServiceCapability
rootFolder: Text
requestPath: Text
requireLogin: Truth
username: Text
password: Text
serveFiles: TruthDirectoryServiceCapability CreateDirectoryServiceCapability(
string rootFolder,
string requestPath = "/directory",
bool requireLogin = false,
string username,
string password,
bool serveFiles = true)Parameters
| name | type | default | description |
|---|---|---|---|
| rootFolder | Text | — | |
| requestPath | Text | /directory | |
| requireLogin | Truth | False | |
| username | Text | — | |
| password | Text | — | |
| serveFiles | Truth | True |
Returns
| result | DirectoryServiceCapability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Create FTP Server Capability
FunctionThis node carries no documentation.
CreateFTPServerCapability -> FTPServerCapability
rootFolder: Text
address: Text
port: IntegerFTPServerCapability CreateFTPServerCapability(
string rootFolder,
string address = "127.0.0.1",
int port = 21)Parameters
| name | type | default | description |
|---|---|---|---|
| rootFolder | Text | — | |
| address | Text | 127.0.0.1 | |
| port | Integer | 21 |
Returns
| result | FTPServerCapability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Create Realtime Chat Capability
FunctionThis node carries no documentation.
CreateRealtimeChatCapability -> RealtimeChatCapability
requireAuthentication: Truth
webSocketPath: Text
apiPath: TextRealtimeChatCapability CreateRealtimeChatCapability(
bool requireAuthentication = false,
string webSocketPath = "/chat/ws",
string apiPath = "/chat/api")Parameters
| name | type | default | description |
|---|---|---|---|
| requireAuthentication | Truth | False | |
| webSocketPath | Text | /chat/ws | |
| apiPath | Text | /chat/api |
Returns
| result | RealtimeChatCapability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Create Secure Static Pages Capability
FunctionThis node carries no documentation.
CreateSecureStaticPagesCapability -> SecureStaticPagesCapability
rootFolder: Text
requestPath: Text
loginPagePath: TextSecureStaticPagesCapability CreateSecureStaticPagesCapability(
string rootFolder,
string requestPath = "/app",
string loginPagePath = "/login")Parameters
| name | type | default | description |
|---|---|---|---|
| rootFolder | Text | — | |
| requestPath | Text | /app | |
| loginPagePath | Text | /login |
Returns
| result | SecureStaticPagesCapability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Create Server
FunctionThis node carries no documentation.
Overload 1 of 2
CreateServer(capabilities: WebServerCapability Array) -> Service Configuration
OilstaWebsiteBuilder.ServiceConfiguration CreateServer(WebServerCapability[] capabilities)
Parameters
| name | type | default | description |
|---|---|---|---|
| capabilities | WebServerCapability Array | — |
Returns
| result | Service Configuration |
Overload 2 of 2
CreateServer -> Service Configuration
capabilities: WebServerCapability Array
address: Text
port: Optional IntegerOilstaWebsiteBuilder.ServiceConfiguration CreateServer(
WebServerCapability[] capabilities,
string address = "0.0.0.0",
int? port = 5055)Parameters
| name | type | default | description |
|---|---|---|---|
| capabilities | WebServerCapability Array | — | |
| address | Text | 0.0.0.0 | |
| port | Optional Integer | 5055 |
Returns
| result | Service Configuration |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Create Static File Capability
FunctionThis node carries no documentation.
CreateStaticFileCapability -> Static File Capability
rootFolder: Text
serveDefaultFiles: Truth
enableDirectoryBrowser: TruthStaticFileCapability CreateStaticFileCapability(
string rootFolder,
bool serveDefaultFiles = true,
bool enableDirectoryBrowser = false)Parameters
| name | type | default | description |
|---|---|---|---|
| rootFolder | Text | — | |
| serveDefaultFiles | Truth | True | |
| enableDirectoryBrowser | Truth | False |
Returns
| result | Static File Capability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Create User Login Capability
FunctionThis node carries no documentation.
CreateUserLoginCapability -> UserLoginCapability
storageProvider: IAuthUserAccountStorageProvider
loginScheme: UserLoginScheme
pageStyle: UserLoginPageStyle
allowRegister: Truth
loginPagePath: Text
registerPagePath: Text
successRedirectPagePath: TextUserLoginCapability CreateUserLoginCapability(
IAuthUserAccountStorageProvider storageProvider,
UserLoginScheme loginScheme = UserLoginScheme.EmailUsernamePassword,
UserLoginPageStyle pageStyle = UserLoginPageStyle.PageWise,
bool allowRegister = true,
string loginPagePath = "/login",
string registerPagePath = "/register",
string successRedirectPagePath = "/app")Parameters
| name | type | default | description |
|---|---|---|---|
| storageProvider | IAuthUserAccountStorageProvider | — | |
| loginScheme | UserLoginScheme | Email username password | |
| pageStyle | UserLoginPageStyle | Multi-page | |
| allowRegister | Truth | True | |
| loginPagePath | Text | /login | |
| registerPagePath | Text | /register | |
| successRedirectPagePath | Text | /app |
Returns
| result | UserLoginCapability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Create Web API Capability
FunctionThis node carries no documentation.
CreateWebAPICapability -> Minimal Web API Capability
method: EndpointMethod
endpoint: Text
handler: Endpoint HandlerMinimalWebAPICapability CreateWebAPICapability(
EndpointMethod method,
string endpoint,
EndpointHandler handler)Parameters
| name | type | default | description |
|---|---|---|---|
| method | EndpointMethod | — | |
| endpoint | Text | — | |
| handler | Endpoint Handler | — |
Returns
| result | Minimal Web API Capability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Map Endpoint
FunctionOverload 1 of 2
MapEndpoint -> Minimal Web API Capability
method: EndpointMethod
endpoint: Text
handler: DelegateMinimalWebAPICapability MapEndpoint(
EndpointMethod method,
string endpoint,
Delegate handler)An endpoint answered by any function - one of the document's own graphs, Routine or Function - whose inputs are filled from the request by name, the way an ASP.NET Core minimal API fills a lambda's parameters.
Parameters
| name | type | default | description |
|---|---|---|---|
| method | EndpointMethod | — | GET, POST, PUT or DELETE. |
| endpoint | Text | — | The route, with any values in braces: /todos/{id}. |
| handler | Delegate | — | The function that answers - graph:Name for one of this document's graphs. |
Returns
| Capability | Minimal Web API Capability |
Overload 2 of 2
MapEndpoint -> Minimal Web API Capability
capability: Minimal Web API Capability
method: EndpointMethod
endpoint: Text
handler: DelegateMinimalWebAPICapability MapEndpoint(
MinimalWebAPICapability capability,
EndpointMethod method,
string endpoint,
Delegate handler)The same capability with one more endpoint answered by any function, its inputs bound from the request by name - see the other Map Endpoint.
Parameters
| name | type | default | description |
|---|---|---|---|
| capability | Minimal Web API Capability | — | |
| method | EndpointMethod | — | |
| endpoint | Text | — | |
| handler | Delegate | — |
Returns
| Capability | Minimal Web API Capability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Serve
FunctionOverload 1 of 2
Serve(server: Service Configuration)
void Serve(OilstaWebsiteBuilder.ServiceConfiguration server)
This blocks the executing thread until the server is shut down - when the program ends, or when the run it belongs to is stopped.
Parameters
| name | type | default | description |
|---|---|---|---|
| server | Service Configuration | — |
Overload 2 of 2
Serve
capabilities: WebServerCapability Array
address: Text
port: Integervoid Serve(
WebServerCapability[] capabilities,
string address = "0.0.0.0",
int port = 5055)This blocks the executing thread.
Parameters
| name | type | default | description |
|---|---|---|---|
| capabilities | WebServerCapability Array | — | Server capabilities. |
| address | Text | 0.0.0.0 | |
| port | Integer | 5055 | Port for HTTP services. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Start
FunctionStarts a server and returns while it runs, so the rest of the program can use it - call it, test it, show its address - and then stop it.
Start -> Running Server
server: Service Configuration
maxSeconds: NumberRunningServer Start(
OilstaWebsiteBuilder.ServiceConfiguration server,
double maxSeconds = 60)Parameters
| name | type | default | description |
|---|---|---|---|
| server | Service Configuration | — | The capabilities, and where to answer. |
| maxSeconds | Number | 60 | The longest the server may run before it stops on its own, in seconds. |
Returns
| Server | Running Server |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
Stop
FunctionStops a server OilstaWebsiteBuilder.Start started, and releases its port. Stopping one that has already stopped does nothing.
Stop(server: Running Server)
void Stop(RunningServer server)
Parameters
| name | type | default | description |
|---|---|---|---|
| server | Running Server | — | The running server. |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
With Address
FunctionThis node carries no documentation.
WithAddress -> FTPServerCapability
capability: FTPServerCapability
address: TextFTPServerCapability WithAddress(
FTPServerCapability capability,
string address = "127.0.0.1")Parameters
| name | type | default | description |
|---|---|---|---|
| capability | FTPServerCapability | — | |
| address | Text | 127.0.0.1 |
Returns
| result | FTPServerCapability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
With Endpoint
FunctionThis node carries no documentation.
WithEndpoint -> Minimal Web API Capability
capability: Minimal Web API Capability
method: EndpointMethod
endpoint: Text
handler: Endpoint HandlerMinimalWebAPICapability WithEndpoint(
MinimalWebAPICapability capability,
EndpointMethod method,
string endpoint,
EndpointHandler handler)Parameters
| name | type | default | description |
|---|---|---|---|
| capability | Minimal Web API Capability | — | |
| method | EndpointMethod | — | |
| endpoint | Text | — | |
| handler | Endpoint Handler | — |
Returns
| result | Minimal Web API Capability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications
With Root Folder
FunctionThis node carries no documentation.
WithRootFolder -> Static File Capability
capability: Static File Capability
rootFolder: TextStaticFileCapability WithRootFolder(
StaticFileCapability capability,
string rootFolder)Parameters
| name | type | default | description |
|---|---|---|---|
| capability | Static File Capability | — | |
| rootFolder | Text | — |
Returns
| result | Static File Capability |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Ol'ista Website Builder
- Package
- Web Applications