Server IP : 192.158.238.246 / Your IP : 3.16.188.113 Web Server : LiteSpeed System : Linux uniform.iwebfusion.net 4.18.0-553.27.1.lve.1.el8.x86_64 #1 SMP Wed Nov 20 15:58:00 UTC 2024 x86_64 User : jenniferflocom ( 1321) PHP Version : 8.1.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /opt/alt/ruby26/lib64/ruby/gems/2.6.0/doc/rack-3.0.8/ri/Rack/Utils/ |
Upload File : |
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::BlankLine o; ; [ 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