Teleforge API Reference - v0.1.0
Preparing search index...
bff/src
HttpServiceAdapter
Class HttpServiceAdapter
Implements
ServiceAdapter
<
HttpServiceAdapterConfig
>
Index
Constructors
constructor
Methods
invoke
Properties
config
name
Constructors
constructor
new
HttpServiceAdapter
(
name
:
string
,
config
:
HttpServiceAdapterConfig
,
fetchImplementation
?:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
,
)
:
HttpServiceAdapter
Parameters
name
:
string
config
:
HttpServiceAdapterConfig
fetchImplementation
:
{
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
;
}
= ...
(
input
:
URL
|
RequestInfo
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
URL
|
RequestInfo
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
(
input
:
string
|
URL
|
Request
,
init
?:
RequestInit
)
:
Promise
<
Response
>
MDN Reference
Parameters
input
:
string
|
URL
|
Request
Optional
init
:
RequestInit
Returns
Promise
<
Response
>
Returns
HttpServiceAdapter
Methods
invoke
invoke
<
TInput
,
TOutput
>
(
operation
:
string
,
input
:
TInput
,
context
:
ServiceContext
,
)
:
Promise
<
TOutput
>
Type Parameters
TInput
TOutput
Parameters
operation
:
string
input
:
TInput
context
:
ServiceContext
Returns
Promise
<
TOutput
>
Properties
Readonly
config
config
:
HttpServiceAdapterConfig
Readonly
name
name
:
string
Settings
Member Visibility
Inherited
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Methods
invoke
Properties
config
name
Teleforge API Reference - v0.1.0
Loading...
MDN Reference