# Module: vertx-web-js/cookie

## vertx-web-js/cookie

Source:
  - cookie.js, line 3

### Classes

Cookie

### Methods

#### <static> Cookie.cookie(name, value) → {Cookie}

  Create a new cookie

  ##### Parameters:

  Name | Type | Description
  --- | --- | ---
  `name` | string | the name of the cookie
  `value` | string | the cookie value

  Source:
    - cookie.js, line 246

  ##### Returns:

  the cookie
  Type
    Cookie