sveltekit-service-manager - v1.1.0
Preparing search index...
client
Service
Function Service
Service
(
service
:
"ping"
,
config
?:
Partial
<
{
entryPoint
:
string
;
executor
:
typeof
__type
;
params
:
Page
[
"params"
]
}
,
>
,
)
:
{
get
entryPoint
()
:
string
;
call
<
R
=
any
>
(
route
:
`
/
${
string
}
`
,
data
?:
object
|
BodyInit
|
null
,
requestInit
?:
Omit
<
RequestInit
,
"body"
>
,
)
:
Promise
<
R
>
;
raw
(
route
:
string
,
requestInit
?:
Omit
<
RequestInit
,
"body"
>
&
{
body
?:
object
|
BodyInit
|
null
;
}
,
)
:
Promise
<
Response
>
;
route
(
path
:
`
/
${
string
}
`
)
:
string
;
}
This method is used to call the services that expose routes to the client
Parameters
service
:
"ping"
name of the service
config
:
Partial
<
{
entryPoint
:
string
;
executor
:
typeof
__type
;
params
:
Page
[
"params"
]
}
>
= {}
Returns
{
get
entryPoint
()
:
string
;
call
<
R
=
any
>
(
route
:
`
/
${
string
}
`
,
data
?:
object
|
BodyInit
|
null
,
requestInit
?:
Omit
<
RequestInit
,
"body"
>
,
)
:
Promise
<
R
>
;
raw
(
route
:
string
,
requestInit
?:
Omit
<
RequestInit
,
"body"
>
&
{
body
?:
object
|
BodyInit
|
null
;
}
,
)
:
Promise
<
Response
>
;
route
(
path
:
`
/
${
string
}
`
)
:
string
;
}
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
sveltekit-service-manager - v1.1.0
Loading...
This method is used to call the services that expose routes to the client