mirror of
https://github.com/Dvorinka/Devour.git
synced 2026-06-04 04:23:02 +00:00
first commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
{
|
||||
"id": "9095e017e922d9d6ac517fa9",
|
||||
"source": "http",
|
||||
"type": "go-function",
|
||||
"title": "http.func MaxBytesReader ¶",
|
||||
"content": "# http.func MaxBytesReader ¶\n\n```\nfunc MaxBytesReader(w ResponseWriter, r io.ReadCloser, n int64) io.ReadCloser\n```\n\nMaxBytesReader is similar to io.LimitReader but is intended for\nlimiting the size of incoming request bodies. In contrast to\nio.LimitReader, MaxBytesReader's result is a ReadCloser, returns a\nnon-nil error of type *MaxBytesError for a Read beyond the limit,\nand closes the underlying reader when its Close method is called.",
|
||||
"url": "https://pkg.go.dev/http#func MaxBytesReader ¶",
|
||||
"metadata": {
|
||||
"examples": "null",
|
||||
"import_path": "Standard library/net/http",
|
||||
"kind": "function",
|
||||
"package": "http",
|
||||
"signature": "func MaxBytesReader(w ResponseWriter, r io.ReadCloser, n int64) io.ReadCloser",
|
||||
"symbol": "func MaxBytesReader ¶"
|
||||
},
|
||||
"hash": "3dea71e71ecd5cd1db9a835bd97e988e7e866cb4cc318eb3c80c8ec369cfb2cb",
|
||||
"timestamp": "2026-02-19T12:17:17.237495694+01:00"
|
||||
}
|
||||
Reference in New Issue
Block a user