@twin.org/api-models 0.0.3-next.21 → 0.0.3-next.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/es/errors/forbiddenError.js +23 -0
- package/dist/es/errors/forbiddenError.js.map +1 -0
- package/dist/es/errors/tooManyRequestsError.js +25 -0
- package/dist/es/errors/tooManyRequestsError.js.map +1 -0
- package/dist/es/helpers/httpErrorHelper.js +6 -2
- package/dist/es/helpers/httpErrorHelper.js.map +1 -1
- package/dist/es/index.js +4 -0
- package/dist/es/index.js.map +1 -1
- package/dist/es/models/responses/errors/IConflictResponse.js.map +1 -1
- package/dist/es/models/responses/errors/INotImplementedResponse.js +2 -0
- package/dist/es/models/responses/errors/INotImplementedResponse.js.map +1 -0
- package/dist/es/models/responses/errors/ITooManyRequestsResponse.js +2 -0
- package/dist/es/models/responses/errors/ITooManyRequestsResponse.js.map +1 -0
- package/dist/types/errors/forbiddenError.d.ts +20 -0
- package/dist/types/errors/tooManyRequestsError.d.ts +22 -0
- package/dist/types/index.d.ts +4 -0
- package/dist/types/models/responses/errors/IConflictResponse.d.ts +1 -6
- package/dist/types/models/responses/errors/INotImplementedResponse.d.ts +15 -0
- package/dist/types/models/responses/errors/ITooManyRequestsResponse.d.ts +15 -0
- package/docs/changelog.md +7 -0
- package/docs/reference/classes/ForbiddenError.md +55 -0
- package/docs/reference/classes/HttpErrorHelper.md +3 -3
- package/docs/reference/classes/HttpParameterHelper.md +4 -4
- package/docs/reference/classes/HttpUrlHelper.md +6 -6
- package/docs/reference/classes/TooManyRequestsError.md +67 -0
- package/docs/reference/index.md +4 -0
- package/docs/reference/interfaces/IAcceptedResponse.md +2 -2
- package/docs/reference/interfaces/IBadRequestResponse.md +2 -2
- package/docs/reference/interfaces/IBaseRestClientConfig.md +9 -9
- package/docs/reference/interfaces/IBaseRoute.md +12 -12
- package/docs/reference/interfaces/IBaseRouteEntryPoint.md +4 -4
- package/docs/reference/interfaces/IBaseRouteProcessor.md +7 -7
- package/docs/reference/interfaces/IBaseSocketClientConfig.md +7 -7
- package/docs/reference/interfaces/IConflictResponse.md +3 -11
- package/docs/reference/interfaces/ICreatedResponse.md +2 -2
- package/docs/reference/interfaces/IForbiddenResponse.md +2 -2
- package/docs/reference/interfaces/IHealthComponentInfo.md +4 -4
- package/docs/reference/interfaces/IHealthInfo.md +3 -3
- package/docs/reference/interfaces/IHostingComponent.md +3 -3
- package/docs/reference/interfaces/IHttpRequest.md +8 -8
- package/docs/reference/interfaces/IHttpRequestContext.md +6 -6
- package/docs/reference/interfaces/IHttpRequestPathParams.md +1 -1
- package/docs/reference/interfaces/IHttpRequestQuery.md +1 -1
- package/docs/reference/interfaces/IHttpResponse.md +6 -6
- package/docs/reference/interfaces/IHttpServerRequest.md +11 -11
- package/docs/reference/interfaces/IInformationComponent.md +8 -8
- package/docs/reference/interfaces/IInternalServerErrorResponse.md +2 -2
- package/docs/reference/interfaces/IMimeTypeProcessor.md +2 -2
- package/docs/reference/interfaces/INoContentRequest.md +8 -8
- package/docs/reference/interfaces/INoContentResponse.md +1 -1
- package/docs/reference/interfaces/INotFoundResponse.md +3 -3
- package/docs/reference/interfaces/INotImplementedResponse.md +19 -0
- package/docs/reference/interfaces/IOkResponse.md +1 -1
- package/docs/reference/interfaces/IRestRoute.md +26 -26
- package/docs/reference/interfaces/IRestRouteExample.md +3 -3
- package/docs/reference/interfaces/IRestRouteProcessor.md +10 -10
- package/docs/reference/interfaces/IRestRouteRequestExample.md +4 -4
- package/docs/reference/interfaces/IRestRouteResponseAttachmentOptions.md +6 -6
- package/docs/reference/interfaces/IRestRouteResponseExample.md +4 -4
- package/docs/reference/interfaces/IRestRouteResponseOptions.md +2 -2
- package/docs/reference/interfaces/IServerFavIconResponse.md +7 -7
- package/docs/reference/interfaces/IServerHealthResponse.md +1 -1
- package/docs/reference/interfaces/IServerInfo.md +2 -2
- package/docs/reference/interfaces/IServerInfoResponse.md +1 -1
- package/docs/reference/interfaces/IServerLivezResponse.md +2 -2
- package/docs/reference/interfaces/IServerRootResponse.md +2 -2
- package/docs/reference/interfaces/IServerSpecResponse.md +4 -4
- package/docs/reference/interfaces/ISocketRequestContext.md +7 -7
- package/docs/reference/interfaces/ISocketRoute.md +17 -17
- package/docs/reference/interfaces/ISocketRouteProcessor.md +16 -16
- package/docs/reference/interfaces/ISocketServerRequest.md +12 -12
- package/docs/reference/interfaces/ITag.md +2 -2
- package/docs/reference/interfaces/ITenant.md +8 -8
- package/docs/reference/interfaces/ITenantAdminComponent.md +7 -7
- package/docs/reference/interfaces/ITooManyRequestsResponse.md +19 -0
- package/docs/reference/interfaces/IUnauthorizedResponse.md +2 -2
- package/docs/reference/interfaces/IUnprocessableEntityResponse.md +2 -2
- package/docs/reference/interfaces/IWebServer.md +4 -4
- package/docs/reference/interfaces/IWebServerOptions.md +36 -12
- package/docs/reference/variables/HealthStatus.md +3 -3
- package/package.json +1 -1
|
@@ -4,7 +4,7 @@ The resource you tried to access does not exist, see the content for more detail
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
### statusCode
|
|
7
|
+
### statusCode {#statuscode}
|
|
8
8
|
|
|
9
9
|
> **statusCode**: `404`
|
|
10
10
|
|
|
@@ -12,7 +12,7 @@ Response status code.
|
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
|
-
### body
|
|
15
|
+
### body {#body}
|
|
16
16
|
|
|
17
17
|
> **body**: `IError` & `object`
|
|
18
18
|
|
|
@@ -22,6 +22,6 @@ The body which contains the error.
|
|
|
22
22
|
|
|
23
23
|
##### notFoundId?
|
|
24
24
|
|
|
25
|
-
> `optional` **notFoundId
|
|
25
|
+
> `optional` **notFoundId?**: `string`
|
|
26
26
|
|
|
27
27
|
The id if the item that was not found.
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# Interface: INotImplementedResponse
|
|
2
|
+
|
|
3
|
+
The operation that you tried to perform is not implemented, see the content for more details.
|
|
4
|
+
|
|
5
|
+
## Properties
|
|
6
|
+
|
|
7
|
+
### statusCode {#statuscode}
|
|
8
|
+
|
|
9
|
+
> **statusCode**: `501`
|
|
10
|
+
|
|
11
|
+
Response status code.
|
|
12
|
+
|
|
13
|
+
***
|
|
14
|
+
|
|
15
|
+
### body {#body}
|
|
16
|
+
|
|
17
|
+
> **body**: `IError`
|
|
18
|
+
|
|
19
|
+
The body which contains the error.
|
|
@@ -18,7 +18,7 @@ Interface which defines a REST route.
|
|
|
18
18
|
|
|
19
19
|
## Properties
|
|
20
20
|
|
|
21
|
-
### operationId
|
|
21
|
+
### operationId {#operationid}
|
|
22
22
|
|
|
23
23
|
> **operationId**: `string`
|
|
24
24
|
|
|
@@ -30,7 +30,7 @@ The id of the operation.
|
|
|
30
30
|
|
|
31
31
|
***
|
|
32
32
|
|
|
33
|
-
### path
|
|
33
|
+
### path {#path}
|
|
34
34
|
|
|
35
35
|
> **path**: `string`
|
|
36
36
|
|
|
@@ -42,9 +42,9 @@ The path to use for routing.
|
|
|
42
42
|
|
|
43
43
|
***
|
|
44
44
|
|
|
45
|
-
### skipAuth?
|
|
45
|
+
### skipAuth? {#skipauth}
|
|
46
46
|
|
|
47
|
-
> `optional` **skipAuth
|
|
47
|
+
> `optional` **skipAuth?**: `boolean`
|
|
48
48
|
|
|
49
49
|
Skips the authentication requirement for this route.
|
|
50
50
|
|
|
@@ -54,9 +54,9 @@ Skips the authentication requirement for this route.
|
|
|
54
54
|
|
|
55
55
|
***
|
|
56
56
|
|
|
57
|
-
### skipTenant?
|
|
57
|
+
### skipTenant? {#skiptenant}
|
|
58
58
|
|
|
59
|
-
> `optional` **skipTenant
|
|
59
|
+
> `optional` **skipTenant?**: `boolean`
|
|
60
60
|
|
|
61
61
|
Skips the tenant requirement for this route.
|
|
62
62
|
|
|
@@ -66,9 +66,9 @@ Skips the tenant requirement for this route.
|
|
|
66
66
|
|
|
67
67
|
***
|
|
68
68
|
|
|
69
|
-
### requiredScope?
|
|
69
|
+
### requiredScope? {#requiredscope}
|
|
70
70
|
|
|
71
|
-
> `optional` **requiredScope
|
|
71
|
+
> `optional` **requiredScope?**: `string`[]
|
|
72
72
|
|
|
73
73
|
The user must have one of the specified scopes to access the route.
|
|
74
74
|
|
|
@@ -78,9 +78,9 @@ The user must have one of the specified scopes to access the route.
|
|
|
78
78
|
|
|
79
79
|
***
|
|
80
80
|
|
|
81
|
-
### processorFeatures?
|
|
81
|
+
### processorFeatures? {#processorfeatures}
|
|
82
82
|
|
|
83
|
-
> `optional` **processorFeatures
|
|
83
|
+
> `optional` **processorFeatures?**: `string`[]
|
|
84
84
|
|
|
85
85
|
The features supported by additional processors to run for this route.
|
|
86
86
|
|
|
@@ -90,9 +90,9 @@ The features supported by additional processors to run for this route.
|
|
|
90
90
|
|
|
91
91
|
***
|
|
92
92
|
|
|
93
|
-
### processorData?
|
|
93
|
+
### processorData? {#processordata}
|
|
94
94
|
|
|
95
|
-
> `optional` **processorData
|
|
95
|
+
> `optional` **processorData?**: `object`
|
|
96
96
|
|
|
97
97
|
The data for additional processors to run for this route.
|
|
98
98
|
|
|
@@ -106,7 +106,7 @@ The data for additional processors to run for this route.
|
|
|
106
106
|
|
|
107
107
|
***
|
|
108
108
|
|
|
109
|
-
### summary
|
|
109
|
+
### summary {#summary}
|
|
110
110
|
|
|
111
111
|
> **summary**: `string`
|
|
112
112
|
|
|
@@ -114,7 +114,7 @@ Summary of what task the operation performs.
|
|
|
114
114
|
|
|
115
115
|
***
|
|
116
116
|
|
|
117
|
-
### tag
|
|
117
|
+
### tag {#tag}
|
|
118
118
|
|
|
119
119
|
> **tag**: `string`
|
|
120
120
|
|
|
@@ -122,7 +122,7 @@ Tag for the operation.
|
|
|
122
122
|
|
|
123
123
|
***
|
|
124
124
|
|
|
125
|
-
### method
|
|
125
|
+
### method {#method}
|
|
126
126
|
|
|
127
127
|
> **method**: `HttpMethod`
|
|
128
128
|
|
|
@@ -130,7 +130,7 @@ The http method.
|
|
|
130
130
|
|
|
131
131
|
***
|
|
132
132
|
|
|
133
|
-
### handler
|
|
133
|
+
### handler {#handler}
|
|
134
134
|
|
|
135
135
|
> **handler**: (`httpRequestContext`, `request`) => `Promise`\<`U`\>
|
|
136
136
|
|
|
@@ -156,9 +156,9 @@ The request object, combined query param, path params and body.
|
|
|
156
156
|
|
|
157
157
|
***
|
|
158
158
|
|
|
159
|
-
### requestType?
|
|
159
|
+
### requestType? {#requesttype}
|
|
160
160
|
|
|
161
|
-
> `optional` **requestType
|
|
161
|
+
> `optional` **requestType?**: `object`
|
|
162
162
|
|
|
163
163
|
The type of the request object.
|
|
164
164
|
|
|
@@ -170,21 +170,21 @@ The object type for the request.
|
|
|
170
170
|
|
|
171
171
|
#### mimeType?
|
|
172
172
|
|
|
173
|
-
> `optional` **mimeType
|
|
173
|
+
> `optional` **mimeType?**: `string`
|
|
174
174
|
|
|
175
175
|
The mime type of the request, defaults to "application/json" if there is a body.
|
|
176
176
|
|
|
177
177
|
#### examples?
|
|
178
178
|
|
|
179
|
-
> `optional` **examples
|
|
179
|
+
> `optional` **examples?**: [`IRestRouteRequestExample`](IRestRouteRequestExample.md)\<`T`\>[]
|
|
180
180
|
|
|
181
181
|
Example objects for the request.
|
|
182
182
|
|
|
183
183
|
***
|
|
184
184
|
|
|
185
|
-
### responseType?
|
|
185
|
+
### responseType? {#responsetype}
|
|
186
186
|
|
|
187
|
-
> `optional` **responseType
|
|
187
|
+
> `optional` **responseType?**: `object`[]
|
|
188
188
|
|
|
189
189
|
The type of the response object.
|
|
190
190
|
|
|
@@ -196,20 +196,20 @@ The object type of the response.
|
|
|
196
196
|
|
|
197
197
|
#### mimeType?
|
|
198
198
|
|
|
199
|
-
> `optional` **mimeType
|
|
199
|
+
> `optional` **mimeType?**: `string`
|
|
200
200
|
|
|
201
201
|
The mime type of the response, defaults to "application/json" if there is a body.
|
|
202
202
|
|
|
203
203
|
#### examples?
|
|
204
204
|
|
|
205
|
-
> `optional` **examples
|
|
205
|
+
> `optional` **examples?**: [`IRestRouteResponseExample`](IRestRouteResponseExample.md)\<`U`\>[]
|
|
206
206
|
|
|
207
207
|
Example objects of the response.
|
|
208
208
|
|
|
209
209
|
***
|
|
210
210
|
|
|
211
|
-
### excludeFromSpec?
|
|
211
|
+
### excludeFromSpec? {#excludefromspec}
|
|
212
212
|
|
|
213
|
-
> `optional` **excludeFromSpec
|
|
213
|
+
> `optional` **excludeFromSpec?**: `boolean`
|
|
214
214
|
|
|
215
215
|
Exclude the route from being included in the spec file.
|
|
@@ -9,7 +9,7 @@ Interface which defines a REST route example.
|
|
|
9
9
|
|
|
10
10
|
## Properties
|
|
11
11
|
|
|
12
|
-
### id
|
|
12
|
+
### id {#id}
|
|
13
13
|
|
|
14
14
|
> **id**: `string`
|
|
15
15
|
|
|
@@ -17,8 +17,8 @@ Example objects for the request.
|
|
|
17
17
|
|
|
18
18
|
***
|
|
19
19
|
|
|
20
|
-
### description?
|
|
20
|
+
### description? {#description}
|
|
21
21
|
|
|
22
|
-
> `optional` **description
|
|
22
|
+
> `optional` **description?**: `string`
|
|
23
23
|
|
|
24
24
|
Description of the example.
|
|
@@ -8,7 +8,7 @@ The definition for a processor for handling REST routes.
|
|
|
8
8
|
|
|
9
9
|
## Methods
|
|
10
10
|
|
|
11
|
-
### features()?
|
|
11
|
+
### features()? {#features}
|
|
12
12
|
|
|
13
13
|
> `optional` **features**(): `string`[]
|
|
14
14
|
|
|
@@ -28,7 +28,7 @@ The features supported by this processor.
|
|
|
28
28
|
|
|
29
29
|
***
|
|
30
30
|
|
|
31
|
-
### pre()?
|
|
31
|
+
### pre()? {#pre}
|
|
32
32
|
|
|
33
33
|
> `optional` **pre**(`request`, `response`, `route`, `contextIds`, `processorState`, `componentTypes?`): `Promise`\<`void`\>
|
|
34
34
|
|
|
@@ -50,9 +50,9 @@ The response data to send if any.
|
|
|
50
50
|
|
|
51
51
|
##### route
|
|
52
52
|
|
|
53
|
-
|
|
53
|
+
[`IRestRoute`](IRestRoute.md)\<`any`, `any`\> \| `undefined`
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
The route being requested, if a matching one was found.
|
|
56
56
|
|
|
57
57
|
##### contextIds
|
|
58
58
|
|
|
@@ -92,7 +92,7 @@ Promise that resolves when the request is processed.
|
|
|
92
92
|
|
|
93
93
|
***
|
|
94
94
|
|
|
95
|
-
### post()?
|
|
95
|
+
### post()? {#post}
|
|
96
96
|
|
|
97
97
|
> `optional` **post**(`request`, `response`, `route`, `contextIds`, `processorState`, `componentTypes?`): `Promise`\<`void`\>
|
|
98
98
|
|
|
@@ -114,9 +114,9 @@ The response data to send if any.
|
|
|
114
114
|
|
|
115
115
|
##### route
|
|
116
116
|
|
|
117
|
-
|
|
117
|
+
[`IRestRoute`](IRestRoute.md)\<`any`, `any`\> \| `undefined`
|
|
118
118
|
|
|
119
|
-
|
|
119
|
+
The route being requested, if a matching one was found.
|
|
120
120
|
|
|
121
121
|
##### contextIds
|
|
122
122
|
|
|
@@ -156,7 +156,7 @@ Promise that resolves when the request is processed.
|
|
|
156
156
|
|
|
157
157
|
***
|
|
158
158
|
|
|
159
|
-
### process()?
|
|
159
|
+
### process()? {#process}
|
|
160
160
|
|
|
161
161
|
> `optional` **process**(`request`, `response`, `route`, `processorState`, `componentTypes?`): `Promise`\<`void`\>
|
|
162
162
|
|
|
@@ -178,9 +178,9 @@ The response data to send if any.
|
|
|
178
178
|
|
|
179
179
|
##### route
|
|
180
180
|
|
|
181
|
-
|
|
181
|
+
[`IRestRoute`](IRestRoute.md)\<`any`, `any`\> \| `undefined`
|
|
182
182
|
|
|
183
|
-
|
|
183
|
+
The route being requested, if a matching one was found.
|
|
184
184
|
|
|
185
185
|
##### processorState
|
|
186
186
|
|
|
@@ -14,7 +14,7 @@ Interface which defines a REST route request example.
|
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
17
|
-
### id
|
|
17
|
+
### id {#id}
|
|
18
18
|
|
|
19
19
|
> **id**: `string`
|
|
20
20
|
|
|
@@ -26,9 +26,9 @@ Example objects for the request.
|
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
29
|
-
### description?
|
|
29
|
+
### description? {#description}
|
|
30
30
|
|
|
31
|
-
> `optional` **description
|
|
31
|
+
> `optional` **description?**: `string`
|
|
32
32
|
|
|
33
33
|
Description of the example.
|
|
34
34
|
|
|
@@ -38,7 +38,7 @@ Description of the example.
|
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
41
|
-
### request
|
|
41
|
+
### request {#request}
|
|
42
42
|
|
|
43
43
|
> **request**: `T`
|
|
44
44
|
|
|
@@ -4,24 +4,24 @@ Interface which defines a REST route response for attachments.
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
### mimeType?
|
|
7
|
+
### mimeType? {#mimetype}
|
|
8
8
|
|
|
9
|
-
> `optional` **mimeType
|
|
9
|
+
> `optional` **mimeType?**: `string`
|
|
10
10
|
|
|
11
11
|
The content type to use in the response.
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
|
-
### filename?
|
|
15
|
+
### filename? {#filename}
|
|
16
16
|
|
|
17
|
-
> `optional` **filename
|
|
17
|
+
> `optional` **filename?**: `string`
|
|
18
18
|
|
|
19
19
|
The filename to use in content disposition.
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
23
|
-
### inline?
|
|
23
|
+
### inline? {#inline}
|
|
24
24
|
|
|
25
|
-
> `optional` **inline
|
|
25
|
+
> `optional` **inline?**: `boolean`
|
|
26
26
|
|
|
27
27
|
Whether to inline the content.
|
|
@@ -14,7 +14,7 @@ Interface which defines a REST route response example.
|
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
|
17
|
-
### id
|
|
17
|
+
### id {#id}
|
|
18
18
|
|
|
19
19
|
> **id**: `string`
|
|
20
20
|
|
|
@@ -26,9 +26,9 @@ Example objects for the request.
|
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
29
|
-
### description?
|
|
29
|
+
### description? {#description}
|
|
30
30
|
|
|
31
|
-
> `optional` **description
|
|
31
|
+
> `optional` **description?**: `string`
|
|
32
32
|
|
|
33
33
|
Description of the example.
|
|
34
34
|
|
|
@@ -38,7 +38,7 @@ Description of the example.
|
|
|
38
38
|
|
|
39
39
|
***
|
|
40
40
|
|
|
41
|
-
### response
|
|
41
|
+
### response {#response}
|
|
42
42
|
|
|
43
43
|
> **response**: `T`
|
|
44
44
|
|
|
@@ -4,8 +4,8 @@ Interface which defines a REST route response.
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
### attachment?
|
|
7
|
+
### attachment? {#attachment}
|
|
8
8
|
|
|
9
|
-
> `optional` **attachment
|
|
9
|
+
> `optional` **attachment?**: [`IRestRouteResponseAttachmentOptions`](IRestRouteResponseAttachmentOptions.md)
|
|
10
10
|
|
|
11
11
|
Additional options that can be used to control the response.
|
|
@@ -4,30 +4,30 @@ The favicon for the server.
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
### headers?
|
|
7
|
+
### headers? {#headers}
|
|
8
8
|
|
|
9
|
-
> `optional` **headers
|
|
9
|
+
> `optional` **headers?**: `object`
|
|
10
10
|
|
|
11
11
|
Additional response headers.
|
|
12
12
|
|
|
13
13
|
#### content-type?
|
|
14
14
|
|
|
15
|
-
> `optional` **content-type
|
|
15
|
+
> `optional` **content-type?**: `string`
|
|
16
16
|
|
|
17
17
|
The content type for the response.
|
|
18
18
|
|
|
19
19
|
***
|
|
20
20
|
|
|
21
|
-
### statusCode?
|
|
21
|
+
### statusCode? {#statuscode}
|
|
22
22
|
|
|
23
|
-
> `optional` **statusCode
|
|
23
|
+
> `optional` **statusCode?**: `HttpStatusCode`
|
|
24
24
|
|
|
25
25
|
Response status code.
|
|
26
26
|
|
|
27
27
|
***
|
|
28
28
|
|
|
29
|
-
### body?
|
|
29
|
+
### body? {#body}
|
|
30
30
|
|
|
31
|
-
> `optional` **body
|
|
31
|
+
> `optional` **body?**: `Uint8Array`\<`ArrayBufferLike`\>
|
|
32
32
|
|
|
33
33
|
The favicon for the server.
|
|
@@ -4,7 +4,7 @@ The livez of the server.
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
### headers
|
|
7
|
+
### headers {#headers}
|
|
8
8
|
|
|
9
9
|
> **headers**: `object`
|
|
10
10
|
|
|
@@ -16,7 +16,7 @@ The headers for the response.
|
|
|
16
16
|
|
|
17
17
|
***
|
|
18
18
|
|
|
19
|
-
### body
|
|
19
|
+
### body {#body}
|
|
20
20
|
|
|
21
21
|
> **body**: `"ok"` \| `"failed"`
|
|
22
22
|
|
|
@@ -4,16 +4,16 @@ The OpenAPI spec for the endpoints.
|
|
|
4
4
|
|
|
5
5
|
## Properties
|
|
6
6
|
|
|
7
|
-
### statusCode?
|
|
7
|
+
### statusCode? {#statuscode}
|
|
8
8
|
|
|
9
|
-
> `optional` **statusCode
|
|
9
|
+
> `optional` **statusCode?**: `HttpStatusCode`
|
|
10
10
|
|
|
11
11
|
Response status code.
|
|
12
12
|
|
|
13
13
|
***
|
|
14
14
|
|
|
15
|
-
### body?
|
|
15
|
+
### body? {#body}
|
|
16
16
|
|
|
17
|
-
> `optional` **body
|
|
17
|
+
> `optional` **body?**: `unknown`
|
|
18
18
|
|
|
19
19
|
The spec for the server.
|
|
@@ -8,7 +8,7 @@ Context data from the socket request.
|
|
|
8
8
|
|
|
9
9
|
## Properties
|
|
10
10
|
|
|
11
|
-
### serverRequest
|
|
11
|
+
### serverRequest {#serverrequest}
|
|
12
12
|
|
|
13
13
|
> **serverRequest**: [`IHttpServerRequest`](IHttpServerRequest.md)
|
|
14
14
|
|
|
@@ -20,7 +20,7 @@ The raw HTTP request.
|
|
|
20
20
|
|
|
21
21
|
***
|
|
22
22
|
|
|
23
|
-
### processorState
|
|
23
|
+
### processorState {#processorstate}
|
|
24
24
|
|
|
25
25
|
> **processorState**: `object`
|
|
26
26
|
|
|
@@ -36,9 +36,9 @@ The state handed through the processors.
|
|
|
36
36
|
|
|
37
37
|
***
|
|
38
38
|
|
|
39
|
-
### loggingComponentType?
|
|
39
|
+
### loggingComponentType? {#loggingcomponenttype}
|
|
40
40
|
|
|
41
|
-
> `optional` **loggingComponentType
|
|
41
|
+
> `optional` **loggingComponentType?**: `string`
|
|
42
42
|
|
|
43
43
|
Logging component type for the request.
|
|
44
44
|
|
|
@@ -48,9 +48,9 @@ Logging component type for the request.
|
|
|
48
48
|
|
|
49
49
|
***
|
|
50
50
|
|
|
51
|
-
### hostingComponentType?
|
|
51
|
+
### hostingComponentType? {#hostingcomponenttype}
|
|
52
52
|
|
|
53
|
-
> `optional` **hostingComponentType
|
|
53
|
+
> `optional` **hostingComponentType?**: `string`
|
|
54
54
|
|
|
55
55
|
Hosting component type for the request.
|
|
56
56
|
|
|
@@ -60,7 +60,7 @@ Hosting component type for the request.
|
|
|
60
60
|
|
|
61
61
|
***
|
|
62
62
|
|
|
63
|
-
### socketId
|
|
63
|
+
### socketId {#socketid}
|
|
64
64
|
|
|
65
65
|
> **socketId**: `string`
|
|
66
66
|
|