toggle menu
korge-root
5.1.0
js
switch theme
search in API
korge-core
/
korlibs.io.runtime
/
JsRuntime
Js
Runtime
js
abstract
class
JsRuntime
Inheritors
JsRuntimeBrowser
JsRuntimeDeno
JsRuntimeNode
Members
Constructors
Js
Runtime
Link copied to clipboard
js
constructor
(
)
Types
Companion
Link copied to clipboard
js
object
Companion
Properties
is
Browser
Link copied to clipboard
js
open
val
isBrowser
:
Boolean
raw
Os
Name
Link copied to clipboard
js
open
val
rawOsName
:
String
raw
Platform
Name
Link copied to clipboard
js
open
val
rawPlatformName
:
String
Functions
create
Client
Link copied to clipboard
js
open
suspend
fun
createClient
(
secure
:
Boolean
)
:
AsyncClient
create
Http
Client
Link copied to clipboard
js
open
fun
createHttpClient
(
)
:
HttpClient
create
Http
Server
Link copied to clipboard
js
open
fun
createHttpServer
(
)
:
HttpServer
create
Server
Link copied to clipboard
js
open
suspend
fun
createServer
(
port
:
Int
,
host
:
String
,
backlog
:
Int
,
secure
:
Boolean
)
:
AsyncServer
current
Dir
Link copied to clipboard
js
open
fun
currentDir
(
)
:
String
env
Link copied to clipboard
js
open
fun
env
(
key
:
String
)
:
String
?
envs
Link copied to clipboard
js
abstract
fun
envs
(
)
:
Map
<
String
,
String
>
exists
Sync
Link copied to clipboard
js
abstract
fun
existsSync
(
path
:
String
)
:
Boolean
langs
Link copied to clipboard
js
open
fun
langs
(
)
:
List
<
String
>
local
Storage
Link copied to clipboard
js
open
fun
localStorage
(
)
:
VfsFile
open
Vfs
Link copied to clipboard
js
open
fun
openVfs
(
path
:
String
)
:
VfsFile
temp
Vfs
Link copied to clipboard
js
open
fun
tempVfs
(
)
:
VfsFile