screeps-api
Github
npm
Preparing search index...
ScreepsHttpResponse
Interface ScreepsHttpResponse<T>
Payload of
ScreepsHttpClient.RESPONSE_RESULT
events.
interface
ScreepsHttpResponse
<
T
extends
ScreepsResponse
|
ScreepsErrorResponse
=
ScreepsResponse
,
>
{
data
:
T
;
method
:
ScreepsHttpMethod
;
params
:
unknown
;
path
:
string
;
retriesAttempted
:
number
;
}
Type Parameters
T
extends
ScreepsResponse
|
ScreepsErrorResponse
=
ScreepsResponse
Hierarchy (
View Summary
)
ScreepsHttpRequest
ScreepsHttpResponse
Index
Properties
data
method
params
path
retries
Attempted
Properties
data
data
:
T
The data field from the response body
method
method
:
ScreepsHttpMethod
params
params
:
unknown
path
path
:
string
retries
Attempted
retriesAttempted
:
number
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Properties
data
method
params
path
retries
Attempted
Github
npm
screeps-api
Loading...
Payload of ScreepsHttpClient.RESPONSE_RESULT events.