rest-vir - v1.0.0
Preparing search index...
extractRunningServerInfo
Function extractRunningServerInfo
extractRunningServerInfo
(
service
:
Readonly
<
Pick
<
MinimalService
,
"serviceOrigin"
>
>
,
fastify
:
Readonly
<
SelectFrom
<
FastifyInstance
,
{
server
:
{
address
:
true
}
}
>
,
>
,
)
:
RunningServerInfo
Merge the running Fastify server's port with the given service's origin port (if it has a port).
Parameters
service
:
Readonly
<
Pick
<
MinimalService
,
"serviceOrigin"
>
>
fastify
:
Readonly
<
SelectFrom
<
FastifyInstance
,
{
server
:
{
address
:
true
}
}
>
>
Returns
RunningServerInfo
Settings
Member Visibility
Protected
Inherited
Theme
OS
Light
Dark
rest-vir - v1.0.0
Loading...
Merge the running Fastify server's port with the given service's origin port (if it has a port).