MCPcopy Create free account

hub / github.com/chenshenhai/deno_note / functions

Functions224 in github.com/chenshenhai/deno_note

↓ 1 callersFunctionloopContext
* 循环HTTP上下文的读取操作 * 等待取出问题,就是代表一个TCP对话已经结束 * @param {Conn} c
demo/server/mod.ts:134
↓ 1 callersFunctionmain
()
demo/testing_integrate/test.ts:43
↓ 1 callersFunctionmain
()
demo/window/fetch.ts:1
↓ 1 callersFunctionmain
()
demo/cmd/output.ts:14
↓ 1 callersFunctionmain
()
demo/cmd/loading.ts:54
↓ 1 callersFunctionmain
()
demo/buffer_reader/example.ts:4
↓ 1 callersFunctionmain
()
demo/buffer_reader/example_line.ts:108
↓ 1 callersFunctionmain
()
demo/buffer_reader/example_chunk.ts:9
↓ 1 callersFunctionmain
()
demo/api/fs/write.ts:5
↓ 1 callersFunctionmain
()
demo/api/fs/read.ts:3
↓ 1 callersFunctionmain
()
demo/process/run_stdout.ts:2
↓ 1 callersFunctionparseContentType
(contentType: string)
demo/http/bodyparser.ts:148
↓ 1 callersFunctionparseMultipartForm
(boundary: string, stream: Uint8Array)
demo/http/bodyparser.ts:65
↓ 1 callersFunctionparseMultipartFormField
(fields: Uint8Array[])
demo/http/bodyparser.ts:22
↓ 1 callersFunctionparseMultipartFormField
* 解析 multipart/form-data 类型表单单个数据 * * @param {string} boundary 单个表单数据的分隔符 * @param {Uint8Array} stream 单个表单数据流, 也就是表单HTTP请求体 * @return {FormField
demo/web_upload/bodyparser.ts:44
↓ 1 callersFunctionparseMultipartStreamToFields
(boundary: string, stream: Uint8Array)
demo/http/bodyparser.ts:74
↓ 1 callersFunctionparseMultipartStreamToFields
* 将 multipart/form-data 的表单类型按照表单的数据域 * 切割成对应的数据缓存区/数据流 * * @param {string} boundary 表单数据的分隔符 * @param {Uint8Array} stream 表单数据流, 也就是表单HTTP请求体 *
demo/web_upload/bodyparser.ts:102
↓ 1 callersFunctionpathFilter
* 过滤静态资源请求路径 * @param {string} path HTTP请求路径 * @param {object} opts HTTP请求路径需要操作的参数 * opts.prefix {string} 清除掉HTTP路径的前缀 * @param {string} 返回过滤掉的H
demo/web_static/mod.ts:30
↓ 1 callersMethodprint
(text: string)
demo/cmd/output.ts:6
↓ 1 callersFunctionreadChunk
* 读取一个数据块 * @return {Promise<boolean>} *
demo/buffer_reader/example_line.ts:48
↓ 1 callersMethodreadCustomChunk
(size: number)
demo/buffer_reader/mod.ts:21
↓ 1 callersFunctionreadSrcFile
(filePath: string)
demo/cli/install.ts:6
↓ 1 callersFunctionreadView
(path: string)
demo/template/example.ts:3
↓ 1 callersFunctionreadView
(path: string)
demo/template/example_server.ts:27
↓ 1 callersFunctionrenderFile
* 读取静态文件 * @param {string} fullFilePath 文件的绝对路径 * @return {string}
demo/web_static/mod.ts:17
↓ 1 callersFunctionresponse
* HTTP响应操作 * @param conn {Conn}
demo/http/example.ts:23
↓ 1 callersFunctionresponse
* HTTP响应操作 * @param conn {Conn}
demo/http/example_req.ts:25
↓ 1 callersFunctionresponse
* HTTP响应操作 * @param conn {Conn}
demo/http/example_bodyparser.ts:27
↓ 1 callersFunctionresponse
(conn: Deno.Conn)
demo/request/test_server.ts:22
↓ 1 callersFunctionresponse
(conn: Deno.Conn)
demo/request/example_post.ts:21
↓ 1 callersFunctionresponse
(conn: Deno.Conn)
demo/request/example_get.ts:19
↓ 1 callersFunctionresponse
* HTTP响应操作 * @param conn {Conn}
demo/process/server.ts:23
↓ 1 callersFunctionresponse
* HTTP响应操作 * @param conn {Conn}
demo/response/example_sample.ts:7
↓ 1 callersFunctionresponse
(conn: Deno.Conn)
demo/testing_progress/server.ts:18
↓ 1 callersMethodrun
(time: number = 1000, percent: number = 100, modulo: number = 2)
demo/cmd/progress_simple.ts:7
↓ 1 callersFunctionrunAllUnitTest
(optsList: any[])
demo/testing_integrate/test.ts:29
↓ 1 callersFunctionrunTestAsync
()
demo/plugin/tests/test.ts:46
↓ 1 callersFunctionrunTestAsync
()
demo/plugin/tests/test.js:46
↓ 1 callersFunctionrunTestOpCount
()
demo/plugin/tests/test.ts:58
↓ 1 callersFunctionrunTestOpCount
()
demo/plugin/tests/test.js:58
↓ 1 callersFunctionrunTestPluginClose
()
demo/plugin/tests/test.ts:75
↓ 1 callersFunctionrunTestPluginClose
()
demo/plugin/tests/test.js:75
↓ 1 callersFunctionrunTestSync
()
demo/plugin/tests/test.ts:32
↓ 1 callersFunctionrunTestSync
()
demo/plugin/tests/test.js:32
↓ 1 callersFunctionrunUnitTest
(opts: Deno.RunOptions)
demo/testing_integrate/test.ts:22
↓ 1 callersFunctionserve
* TCP 主服务方法 * @param addr
demo/server/mod.ts:68
↓ 1 callersFunctionserver
* HTTP服务 * @param opts {Deno.ListenOptions}
demo/http/example.ts:35
↓ 1 callersFunctionserver
* HTTP服务 * @param opts {Deno.ListenOptions}
demo/http/example_req.ts:39
↓ 1 callersFunctionserver
* HTTP服务 * @param opts {Deno.ListenOptions}
demo/http/example_bodyparser.ts:71
↓ 1 callersFunctionserver
(opts: Deno.ListenOptions)
demo/request/test_server.ts:45
↓ 1 callersFunctionserver
(opts: Deno.ListenOptions)
demo/request/example_post.ts:56
↓ 1 callersFunctionserver
(opts: Deno.ListenOptions)
demo/request/example_get.ts:32
↓ 1 callersFunctionserver
* HTTP服务 * @param addr {string}
demo/process/server.ts:35
↓ 1 callersFunctionserver
(opts: Deno.ListenOptions)
demo/response/example.ts:3
↓ 1 callersFunctionserver
(opts: Deno.ListenOptions)
demo/response/test_server_json.ts:5
↓ 1 callersFunctionserver
* HTTP服务 * @param addr {string}
demo/response/example_sample.ts:34
↓ 1 callersFunctionserver
(opts: Deno.ListenOptions)
demo/response/test_server_text.ts:5
↓ 1 callersFunctionserver
(opts: Deno.ListenOptions)
demo/testing_progress/server.ts:29
↓ 1 callersMethodsetData
(key: string, val: any)
demo/web/context.ts:121
↓ 1 callersFunctionsimpleServer
* helloworld HTTP服务 * @param opts {Deno.ListenOptions}
demo/hello/mod.ts:8
↓ 1 callersFunctionsleep
(time: number = 10)
demo/import_maps/mod_test.ts:9
↓ 1 callersFunctionsleep
(time: number = 10)
demo/http/example_test.ts:25
↓ 1 callersFunctionsleep
(time: number = 10)
demo/hello/mod_test.ts:27
↓ 1 callersMethodstart
(speed: number = 100)
demo/cmd/loading.ts:10
↓ 1 callersFunctionstartHTTPServer
()
demo/web_static/test.ts:20
↓ 1 callersFunctionstartHTTPServer
()
demo/http/example_test.ts:11
↓ 1 callersFunctionstartHTTPServer
()
demo/server/test.ts:13
↓ 1 callersFunctionstartHTTPServer
()
demo/web_router/test.ts:22
↓ 1 callersFunctionstartHTTPServer
()
demo/web/test.ts:13
↓ 1 callersFunctionstartHTTPServer
()
demo/hello/mod_test.ts:13
↓ 1 callersFunctionstartHTTPServer
()
demo/web_upload/test.ts:10
↓ 1 callersFunctionstartHTTPServer
()
demo/testing_progress/test.ts:11
↓ 1 callersFunctionstartJSONServer
()
demo/response/test.ts:43
↓ 1 callersFunctionstartServer
()
demo/template/example_server.ts:9
↓ 1 callersFunctionstartTextServer
()
demo/response/test.ts:13
↓ 1 callersMethodstop
()
demo/cmd/loading.ts:20
Method_current
* 读取缓冲区当前已经读到的数据块 * @return {Uint8Array} *
demo/buffer_reader/mod.ts:135
Functionbasic
()
demo/plugin/tests/integration_tests.rs:19
MethodcleanData
()
demo/web/context.ts:134
Functioncompile
(tpl: string, data: {[key: string]: any})
demo/template/mod.ts:98
Methodconstructor
(conn: Deno.Conn, size?: number)
demo/request/mod.ts:41
Methodconstructor
(tip: string = 'Please input something: ')
demo/cmd/input.ts:5
Methodconstructor
(reader: Deno.Reader, size?: number)
demo/buffer_reader/mod.ts:37
Methodconstructor
(conn: Deno.Conn)
demo/server/context.ts:15
Methodconstructor
(method: string, path: string, middleware: Function)
demo/web_router/mod.ts:23
Methodconstructor
()
demo/web_router/mod.ts:106
Methodconstructor
(req: Request)
demo/web/context.ts:11
Methodconstructor
(res: Response)
demo/web/context.ts:46
Methodconstructor
(ctx: Context)
demo/web/context.ts:115
Methodconstructor
()
demo/web/application.ts:12
Methodconstructor
(conn: Deno.Conn)
demo/response/mod.ts:30
Functiondelay
(time: number = 100)
demo/web_router/test.ts:12
Methoddelete
* 注册 DELETE请求路由 * @param path {string} 路由规则 * @param middleware {Function} 路由中间件方法
demo/web_router/mod.ts:144
MethoddeleteData
(key: string)
demo/web/context.ts:143
Functiondeno_plugin_init
(isolate: &mut CoreIsolate)
demo/plugin/src/lib.rs:11
Functiondeno_plugin_init
(isolate: &mut CoreIsolate)
demo/plugin_hello/src/lib.rs:11
Methodflush
()
demo/web/context.ts:81
MethodgetBody
()
demo/web/context.ts:77
MethodgetBody
* 获取请求体 * @return {string} *
demo/response/mod.ts:89
MethodgetBodyStream
()
demo/web/context.ts:23
← previousnext →101–200 of 224, ranked by callers