Cookie

Overview

Location

  • Reference:
    • Go.dll  .NET, .NET Standard 2.0
    • Go.fx  Island, macOS
  • Namespace: go.net.http

 

constructor

 

constructor

 

Cookie()

 

init()

constructor (Cookie)

 

constructor(value: Cookie)

 

Cookie(Cookie value)

 

init(_ value: Cookie)

Parameters:

  • value:

constructor (string, string, string, string, Time, string, int, bool, bool, SameSite, string, Slice<String>) Island, macOS

 

constructor(aName: string; aValue: string; aPath: string; aDomain: string; aExpires: Time; aRawExpires: string; aMaxAge: int; aSecure: bool; aHttpOnly: bool; aSameSite: SameSite; aRaw: string; aUnparsed: Slice<String>)

 

Cookie(string aName, string aValue, string aPath, string aDomain, Time aExpires, string aRawExpires, int aMaxAge, bool aSecure, bool aHttpOnly, SameSite aSameSite, string aRaw, Slice<String> aUnparsed)

 

init(_ aName: string, _ aValue: string, _ aPath: string, _ aDomain: string, _ aExpires: Time, _ aRawExpires: string, _ aMaxAge: int, _ aSecure: bool, _ aHttpOnly: bool, _ aSameSite: SameSite, _ aRaw: string, _ aUnparsed: Slice<String>)

Parameters:

  • aName:
  • aValue:
  • aPath:
  • aDomain:
  • aExpires:
  • aRawExpires:
  • aMaxAge:
  • aSecure:
  • aHttpOnly:
  • aSameSite:
  • aRaw:
  • aUnparsed:

constructor (String, String, String, String, Time, String, Int64, Boolean, Boolean, SameSite, String, Slice<String>) .NET, .NET Standard 2.0

 

constructor(aName: String; aValue: String; aPath: String; aDomain: String; aExpires: Time; aRawExpires: String; aMaxAge: Int64; aSecure: Boolean; aHttpOnly: Boolean; aSameSite: SameSite; aRaw: String; aUnparsed: Slice<String>)

 

Cookie(String aName, String aValue, String aPath, String aDomain, Time aExpires, String aRawExpires, Int64 aMaxAge, Boolean aSecure, Boolean aHttpOnly, SameSite aSameSite, String aRaw, Slice<String> aUnparsed)

 

init(_ aName: String, _ aValue: String, _ aPath: String, _ aDomain: String, _ aExpires: Time, _ aRawExpires: String, _ aMaxAge: Int64, _ aSecure: Boolean, _ aHttpOnly: Boolean, _ aSameSite: SameSite, _ aRaw: String, _ aUnparsed: Slice<String>)

Parameters:

  • aName:
  • aValue:
  • aPath:
  • aDomain:
  • aExpires:
  • aRawExpires:
  • aMaxAge:
  • aSecure:
  • aHttpOnly:
  • aSameSite:
  • aRaw:
  • aUnparsed:

Domain

 

var Domain: string;

 

string Domain

 

var Domain: string

 

Domain string

Expires

 

var Expires: Time;

 

Time Expires

 

var Expires: Time

 

Expires Time

HttpOnly

 

var HttpOnly: bool;

 

bool HttpOnly

 

var HttpOnly: bool

 

HttpOnly bool

MaxAge

 

var MaxAge: int;

 

int MaxAge

 

var MaxAge: int

 

MaxAge int

Name

 

var Name: string;

 

string Name

 

var Name: string

 

Name string

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

Raw

 

var Raw: string;

 

string Raw

 

var Raw: string

 

Raw string

RawExpires

 

var RawExpires: string;

 

string RawExpires

 

var RawExpires: string

 

RawExpires string

SameSite

 

var SameSite: SameSite;

 

SameSite SameSite

 

var SameSite: SameSite

 

SameSite SameSite

Secure

 

var Secure: bool;

 

bool Secure

 

var Secure: bool

 

Secure bool

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string

Unparsed

 

var Unparsed: Slice<String>;

 

Slice<String> Unparsed

 

var Unparsed: Slice<String>

 

Unparsed Slice<String>

Value

 

var Value: string;

 

string Value

 

var Value: string

 

Value string

 

Domain

 

var Domain: string;

 

string Domain

 

var Domain: string

 

Domain string

Expires

 

var Expires: Time;

 

Time Expires

 

var Expires: Time

 

Expires Time

HttpOnly

 

var HttpOnly: bool;

 

bool HttpOnly

 

var HttpOnly: bool

 

HttpOnly bool

MaxAge

 

var MaxAge: int;

 

int MaxAge

 

var MaxAge: int

 

MaxAge int

Name

 

var Name: string;

 

string Name

 

var Name: string

 

Name string

Path

 

var Path: string;

 

string Path

 

var Path: string

 

Path string

Raw

 

var Raw: string;

 

string Raw

 

var Raw: string

 

Raw string

RawExpires

 

var RawExpires: string;

 

string RawExpires

 

var RawExpires: string

 

RawExpires string

SameSite

 

var SameSite: SameSite;

 

SameSite SameSite

 

var SameSite: SameSite

 

SameSite SameSite

Secure

 

var Secure: bool;

 

bool Secure

 

var Secure: bool

 

Secure bool

Unparsed

 

var Unparsed: Slice<String>;

 

Slice<String> Unparsed

 

var Unparsed: Slice<String>

 

Unparsed Slice<String>

Value

 

var Value: string;

 

string Value

 

var Value: string

 

Value string

 

constructor

 

constructor

 

Cookie()

 

init()

constructor (Cookie)

 

constructor(value: Cookie)

 

Cookie(Cookie value)

 

init(_ value: Cookie)

Parameters:

  • value:

constructor (string, string, string, string, Time, string, int, bool, bool, SameSite, string, Slice<String>) Island, macOS

 

constructor(aName: string; aValue: string; aPath: string; aDomain: string; aExpires: Time; aRawExpires: string; aMaxAge: int; aSecure: bool; aHttpOnly: bool; aSameSite: SameSite; aRaw: string; aUnparsed: Slice<String>)

 

Cookie(string aName, string aValue, string aPath, string aDomain, Time aExpires, string aRawExpires, int aMaxAge, bool aSecure, bool aHttpOnly, SameSite aSameSite, string aRaw, Slice<String> aUnparsed)

 

init(_ aName: string, _ aValue: string, _ aPath: string, _ aDomain: string, _ aExpires: Time, _ aRawExpires: string, _ aMaxAge: int, _ aSecure: bool, _ aHttpOnly: bool, _ aSameSite: SameSite, _ aRaw: string, _ aUnparsed: Slice<String>)

Parameters:

  • aName:
  • aValue:
  • aPath:
  • aDomain:
  • aExpires:
  • aRawExpires:
  • aMaxAge:
  • aSecure:
  • aHttpOnly:
  • aSameSite:
  • aRaw:
  • aUnparsed:

constructor (String, String, String, String, Time, String, Int64, Boolean, Boolean, SameSite, String, Slice<String>) .NET, .NET Standard 2.0

 

constructor(aName: String; aValue: String; aPath: String; aDomain: String; aExpires: Time; aRawExpires: String; aMaxAge: Int64; aSecure: Boolean; aHttpOnly: Boolean; aSameSite: SameSite; aRaw: String; aUnparsed: Slice<String>)

 

Cookie(String aName, String aValue, String aPath, String aDomain, Time aExpires, String aRawExpires, Int64 aMaxAge, Boolean aSecure, Boolean aHttpOnly, SameSite aSameSite, String aRaw, Slice<String> aUnparsed)

 

init(_ aName: String, _ aValue: String, _ aPath: String, _ aDomain: String, _ aExpires: Time, _ aRawExpires: String, _ aMaxAge: Int64, _ aSecure: Boolean, _ aHttpOnly: Boolean, _ aSameSite: SameSite, _ aRaw: String, _ aUnparsed: Slice<String>)

Parameters:

  • aName:
  • aValue:
  • aPath:
  • aDomain:
  • aExpires:
  • aRawExpires:
  • aMaxAge:
  • aSecure:
  • aHttpOnly:
  • aSameSite:
  • aRaw:
  • aUnparsed:

String

 

method String: string

 

string String()

 

func String() -> string

 

func String() string