diff options
author | Stanislav <62983943+stanislavstrelnikov@users.noreply.github.com> | 2020-06-25 14:12:09 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 07:12:09 -0400 |
commit | 7ea3071db5b05cfe284fecfed28a66f7508dad6d (patch) | |
tree | 5f80af77c28031c98d7a8180c8ff0d59e9131d68 | |
parent | ab0f12fcb80d6ad9bb74c9ba427fc73d302831ab (diff) |
docs: replace delCookie with deleteCookie (#6467)
-rw-r--r-- | std/http/README.md | 4 |
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); |