Documentation
Preparing search index...
@saltcorn/types
base_types
Res
Type Alias Res
type
Res
=
{
json
:
(
value
:
unknown
)
=>
void
;
redirect
:
(
url
:
string
)
=>
void
;
send
:
(
contents
:
string
)
=>
void
;
sendWrap
:
(
...
contents
:
any
[]
)
=>
void
;
status
:
(
http_code
:
number
)
=>
void
;
[
k
:
string
]:
any
;
}
Indexable
[
k
:
string
]:
any
Index
Properties
json
redirect
send
send
Wrap
status
Properties
json
json
:
(
value
:
unknown
)
=>
void
redirect
redirect
:
(
url
:
string
)
=>
void
send
send
:
(
contents
:
string
)
=>
void
send
Wrap
sendWrap
:
(
...
contents
:
any
[]
)
=>
void
status
status
:
(
http_code
:
number
)
=>
void
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
json
redirect
send
send
Wrap
status
Documentation
Loading...