code: func (c *Network) SetCookie(name string, value string, url string, domain string, path string, secure bool, httpOnly bool, sameSite string, expires float64) (bool, error) {
  	var v NetworkSetCookieParams
  	v.Name = name
  	v.Value = value
  	v.Url = url
  	v.Domain = domain
  	v.Path = path
  	v.Secure = secure
  	v.HttpOnly = httpOnly
  	v.SameSite = sameSite
  	v.Expires = expires
  	return c.SetCookieWithParams(&v)
  }
docs: // SetCookie - Sets a cookie with the given cookie data; may overwrite equivalent cookies if they exist.
  // name - Cookie name.
  // value - Cookie value.
  // url - The request-URI to associate with the setting of the cookie. This value can affect the default domain and path values of the created cookie.
  // domain - Cookie domain.
  // path - Cookie path.
  // secure - True if cookie is secure.
  // httpOnly - True if cookie is http-only.
  // sameSite - Cookie SameSite type. enum values: Strict, Lax
  // expires - Cookie expiration date, session cookie if not set
  // Returns -  success - True if successfully set cookie.