toggle menu
korge-root
5.1.0
js
switch theme
search in API
korge-core
/
korlibs.io.runtime.browser
/
JsRuntimeBrowser
Js
Runtime
Browser
js
object
JsRuntimeBrowser
:
JsRuntime
Members
Properties
base
Url
Link copied to clipboard
js
val
baseUrl
:
String
href
Link copied to clipboard
js
val
href
:
String
is
Browser
Link copied to clipboard
js
open
override
val
isBrowser
:
Boolean
js
Navigator
Link copied to clipboard
js
val
jsNavigator
:
Any
raw
Os
Name
Link copied to clipboard
js
open
override
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
override
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
override
fun
currentDir
(
)
:
String
env
Link copied to clipboard
js
open
fun
env
(
key
:
String
)
:
String
?
envs
Link copied to clipboard
js
open
override
fun
envs
(
)
:
Map
<
String
,
String
>
exists
Sync
Link copied to clipboard
js
open
override
fun
existsSync
(
path
:
String
)
:
Boolean
langs
Link copied to clipboard
js
open
override
fun
langs
(
)
:
List
<
String
>
local
Storage
Link copied to clipboard
js
open
override
fun
localStorage
(
)
:
VfsFile
open
Vfs
Link copied to clipboard
js
open
override
fun
openVfs
(
path
:
String
)
:
VfsFile
temp
Vfs
Link copied to clipboard
js
open
override
fun
tempVfs
(
)
:
VfsFile