Uname: Linux premium294.web-hosting.com 4.18.0-553.45.1.lve.el8.x86_64 #1 SMP Wed Mar 26 12:08:09 UTC 2025 x86_64
Software: LiteSpeed
PHP version: 8.1.32 [ PHP INFO ] PHP os: Linux
Server Ip: 104.21.96.1
Your Ip: 216.73.216.223
User: mjbynoyq (1574) | Group: mjbynoyq (1570)
Safe Mode: OFF
Disable Function:
NONE

name : set_cookie_header-i.ri
U:RDoc::AnyMethod[iI"set_cookie_header:ETI""Rack::Utils#set_cookie_header;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"NGenerate an encoded string using the provided +key+ and +value+ suitable ;TI"Mfor the +set-cookie+ header according to RFC6265. The +value+ may be an ;TI"+instance of either +String+ or +Hash+.;To:RDoc::Markup::BlankLineo;
;	[
I"PIf the cookie +value+ is an instance of +Hash+, it considers the following ;TI"Mcookie attribute keys: +domain+, +max_age+, +expires+ (must be instance ;TI"Jof +Time+), +secure+, +http_only+, +same_site+ and +value+. For more ;TI"?details about the interpretation of these fields, consult ;TI"V[RFC6265 Section 5.2](https://datatracker.ietf.org/doc/html/rfc6265#section-5.2).;T@o;
;	[I"OAn extra cookie attribute +escape_key+ can be provided to control whether ;TI"Mor not the cookie key is URL encoded. If explicitly set to +false+, the ;TI"Ncookie key name will not be url encoded (escaped). The default is +true+.;T@o:RDoc::Markup::Verbatim;	[
I",set_cookie_header("myname", "myvalue")
;TI"# => "myname=myvalue"
;TI"
;TI"Bset_cookie_header("myname", {value: "myvalue", max_age: 10})
;TI"&# => "myname=myvalue; max-age=10";T:@format0:
@fileI"lib/rack/utils.rb;T:0@omit_headings_from_table_of_contents_below0I"5set_cookie_header(key, value) -> encoded string
;T0[I"(key, value);T@$FI"
Utils;TcRDoc::NormalModule00
© 2025 XylotrechusZ