-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrest_control_respond.proto.json
More file actions
89 lines (89 loc) · 2.22 KB
/
Copy pathrest_control_respond.proto.json
File metadata and controls
89 lines (89 loc) · 2.22 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
{
"runtimeName": "rest::control::respond",
"runtimeParameterDefinitions": [
{
"runtimeName": "http_status_code",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "HTTP Status Code"
}
],
"description": [
{
"code": "en-US",
"content": "An HTTP status code is a three-digit number (100–599) indicating the result of a request (e.g., 200, 404, 500)."
}
],
"documentation": []
},
{
"runtimeName": "headers",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "HTTP response headers"
}
],
"description": [
{
"code": "en-US",
"content": "A collection of key-value pairs containing additional response metadata."
}
],
"documentation": []
},
{
"runtimeName": "payload",
"defaultValue": null,
"name": [
{
"code": "en-US",
"content": "Response Payload"
}
],
"description": [
{
"code": "en-US",
"content": "Contains the response payload, such as JSON, XML, form data, or binary content, depending on the Content-Type header."
}
],
"documentation": []
}
],
"deprecationMessage": [],
"throwsError": false,
"name": [
{
"code": "en-US",
"content": "Respond"
}
],
"description": [
{
"code": "en-US",
"content": "Processes an HTTP response and returns it to the requesting client. This function typically completes the HTTP request–response cycle by delivering the server’s final output, such as headers, status codes, and body content, back to the client."
}
],
"documentation": [],
"alias": [
{
"code": "en-US",
"content": "respond;control;http"
}
],
"displayMessage": [
{
"code": "en-US",
"content": "Sends response with status ${http_status_code} and payload ${payload}"
}
],
"displayIcon": "tabler:cube-sent",
"signature": "<T>(http_status_code: HTTP_STATUS_CODE, headers: OBJECT<{}>, payload: T): void",
"linkedDataTypeIdentifiers": [
"HTTP_STATUS_CODE",
"OBJECT"
]
}