// //------------------ DOK FILE -------------------------------------------------- +Header core.net.http =pkg core.net.http =title core.net.http =short http and websocket constants =desc This package contains common http constants. // // //------------------ PROTO ----------------------------------------------------- WS_OPCODE_PONG +Proto WS_OPCODE_PONG =type Int =mode constant =pkg core.net.http =impl mcy =link =desc Websocket Opcode constant // // //------------------ PROTO ----------------------------------------------------- WS_OPCODE_PING +Proto WS_OPCODE_PING =type Int =mode constant =pkg core.net.http =impl mcy =link =desc Websocket Opcode constant // // //------------------ PROTO ----------------------------------------------------- WS_OPCODE_CLOSE +Proto WS_OPCODE_CLOSE =type Int =mode constant =pkg core.net.http =impl mcy =link =desc Websocket Opcode constant // // //------------------ PROTO ----------------------------------------------------- WS_OPCODE_BIN +Proto WS_OPCODE_BIN =type Int =mode constant =pkg core.net.http =impl mcy =link =desc Websocket Opcode constant // // //------------------ PROTO ----------------------------------------------------- WS_OPCODE_TEXT +Proto WS_OPCODE_TEXT =type Int =mode constant =pkg core.net.http =impl mcy =link =desc Websocket Opcode constant // // //------------------ PROTO ----------------------------------------------------- WS_OPCODE_CONTINUE +Proto WS_OPCODE_CONTINUE =type Int =mode constant =pkg core.net.http =impl mcy =link =desc Websocket Opcode constant // // //------------------ PROTO ----------------------------------------------------- WS_UUID +Proto WS_UUID =type Str =mode constant =pkg core.net.http =impl mcy =link =desc Websocket constant // // //------------------ PROTO ----------------------------------------------------- WS_ACCEPT +Proto WS_ACCEPT =type Str =mode constant =pkg core.net.http =impl mcy =link =desc Websocket constant // // //------------------ PROTO ----------------------------------------------------- WS_KEY +Proto WS_KEY =type Str =mode constant =pkg core.net.http =impl mcy =link =desc Websocket constant // // //------------------ PROTO ----------------------------------------------------- HTTP_MULTIPART +Proto HTTP_MULTIPART =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP header constant // // //------------------ PROTO ----------------------------------------------------- HTTP_URLENCODED +Proto HTTP_URLENCODED =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP header constant // // //------------------ PROTO ----------------------------------------------------- HTTP_CHUNKED +Proto HTTP_CHUNKED =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP header constant // // //------------------ PROTO ----------------------------------------------------- HTTP_TRANSFER_ENCODING +Proto HTTP_TRANSFER_ENCODING =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP header constant // // //------------------ PROTO ----------------------------------------------------- HTTP_SET_COOKIE +Proto HTTP_SET_COOKIE =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP header constant // // //------------------ PROTO ----------------------------------------------------- HTTP_COOKIE +Proto HTTP_COOKIE =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP header constant // // //------------------ PROTO ----------------------------------------------------- HTTP_LOCATION +Proto HTTP_LOCATION =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP header constant // // //------------------ PROTO ----------------------------------------------------- HTTP_CACHE_CONTROL +Proto HTTP_CACHE_CONTROL =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP header constant // // //------------------ PROTO ----------------------------------------------------- HTTP_CONTENT_TYPE +Proto HTTP_CONTENT_TYPE =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP header constant // // //------------------ PROTO ----------------------------------------------------- HTTP_CONTENT_LENGTH +Proto HTTP_CONTENT_LENGTH =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP header constant // // //------------------ PROTO ----------------------------------------------------- HTTP_1_1 +Proto HTTP_1_1 =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP protocol constant // // //------------------ PROTO ----------------------------------------------------- HTTP_1_0 +Proto HTTP_1_0 =type Str =mode constant =pkg core.net.http =impl mcy =link =desc HTTP protocol constant // // //------------------ PROTO ----------------------------------------------------- WEBSOCKET_TIMEOUT +Proto WEBSOCKET_TIMEOUT =type Int =mode constant =pkg core.net.http =impl mcy =link =desc Websocket default timeout in milliseconds. Connection is closed after this duration of inactivity. // // //------------------ PROTO ----------------------------------------------------- HTTPCLIENT_TIMEOUT +Proto HTTPCLIENT_TIMEOUT =type Int =mode constant =pkg core.net.http =impl mcy =link =desc HTTP default timeout in milliseconds. Connection is closed after this duration of inactivity. // // //------------------ PROTO ----------------------------------------------------- transferNone +Proto transferNone =type Transfer =mode empty constructor =pkg core.net.http =impl mcy =link =desc // // //------------------ PROTO ----------------------------------------------------- transferChunked +Proto transferChunked =type Transfer =mode empty constructor =pkg core.net.http =impl mcy =link =desc // // //------------------ PROTO ----------------------------------------------------- transferLength +Proto transferLength =type fun Int -> Transfer =mode constructor =pkg core.net.http =impl mcy =link =desc // // //------------------ PROTO ----------------------------------------------------- Transfer +Proto Transfer =type Transfer =mode sum =pkg core.net.http =impl mcy =link =desc