summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav <62983943+stanislavstrelnikov@users.noreply.github.com>2020-06-25 14:12:09 +0300
committerGitHub <noreply@github.com>2020-06-25 07:12:09 -0400
commit7ea3071db5b05cfe284fecfed28a66f7508dad6d (patch)
tree5f80af77c28031c98d7a8180c8ff0d59e9131d68
parentab0f12fcb80d6ad9bb74c9ba427fc73d302831ab (diff)
docs: replace delCookie with deleteCookie (#6467)
-rw-r--r--std/http/README.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/std/http/README.md b/std/http/README.md
index 0f97fd0c0..3383c0778 100644
--- a/std/http/README.md
+++ b/std/http/README.md
@@ -55,10 +55,10 @@ to delete it.
```ts
import { Response } from "https://deno.land/std/http/server.ts";
-import { delCookie } from "https://deno.land/std/http/cookie.ts";
+import { deleteCookie } from "https://deno.land/std/http/cookie.ts";
let response: Response = {};
-delCookie(response, "deno");
+deleteCookie(response, "deno");
const cookieHeader = response.headers.get("set-cookie");
console.log("Set-Cookie:", cookieHeader);