Response interface
属性
socket |
方法
end(unknown[]) | |
header(string, unknown) | |
send(unknown[]) | |
status(number) |
属性详细信息
socket
socket: unknown
属性值
unknown
方法详细信息
end(unknown[])
function end(args: unknown[]): unknown
参数
- args
-
unknown[]
返回
unknown
header(string, unknown)
function header(name: string, value: unknown): unknown
参数
- name
-
string
- value
-
unknown
返回
unknown
send(unknown[])
function send(args: unknown[]): unknown
参数
- args
-
unknown[]
返回
unknown
status(number)
function status(code: number): unknown
参数
- code
-
number
返回
unknown