mirror of
https://github.com/linuxserver/core.git
synced 2026-02-20 05:07:19 +08:00
36 lines
972 B
JSON
36 lines
972 B
JSON
{
|
|
"http-string-parser": {
|
|
"ParseRequestResult": {
|
|
"method": "string",
|
|
"uri": "string",
|
|
"headers": {},
|
|
"body": "string"
|
|
},
|
|
"ParseResponseResult": {
|
|
"statusCode": "string",
|
|
"statusMessage": "string",
|
|
"headers": {},
|
|
"body": "string"
|
|
},
|
|
"ParseRequestLineResult": {
|
|
"method": "string",
|
|
"uri": "string",
|
|
"protocol": "string"
|
|
},
|
|
"ParseStatusLineResult": {
|
|
"protocol": "string",
|
|
"statusCode": "string",
|
|
"statusMessage": "string"
|
|
},
|
|
"parseRequest": "fn(requestString: string) -> ParseRequestResult",
|
|
"parseResponse": "fn(responseString: string) -> ParseResponseResult",
|
|
"parseRequestLine": "fn(requestLineString: string) -> ParseRequestLineResult",
|
|
"parseStatusLine": "fn(statusLine: string) -> ParseStatusLineResult",
|
|
"parseHeaders": "fn(headerLines: [string]) -> ret"
|
|
},
|
|
"!name": "http-string-parser",
|
|
"!define": {
|
|
"ret": {}
|
|
}
|
|
}
|