HEX
Server: Apache
System: Windows NT MAGNETO-ARM 10.0 build 22000 (Windows 10) AMD64
User: Michel (0)
PHP: 7.4.7
Disabled: NONE
Upload Files
File: C:/Ruby27-x64/lib/ruby/gems/2.7.0/doc/puma-6.1.0/ri/Puma/DSL/ssl_bind-i.ri
U:RDoc::AnyMethod[iI"
ssl_bind:ETI"Puma::DSL#ssl_bind;TF:publico:RDoc::Markup::Document:@parts[o:RDoc::Markup::Paragraph;	[I"BInstead of using +bind+ and manually constructing a URI like:;To:RDoc::Markup::BlankLineo:RDoc::Markup::Verbatim;	[I"=bind 'ssl://127.0.0.1:9292?key=key_path&cert=cert_path'
;T:@format0o;
;	[I"!you can use the this method.;T@o;
;	[I"KWhen binding on localhost you don't need to specify +cert+ and +key+, ;TI"LPuma will assume you are using the +localhost+ gem and try to load the ;TI"appropriate files.;T@o;
;	[I"IWhen using the options hash parameter, the `reuse:` value is either ;TI"P`true`, which sets reuse 'on' with default values, or a hash, with `:size` ;TI"6and/or `:timeout` keys, each with integer values.;T@o;
;	[I"
@example;To;;	[
I"%ssl_bind '127.0.0.1', '9292', {
;TI"  cert: path_to_cert,
;TI"  key: path_to_key,
;TI"4  ssl_cipher_filter: cipher_filter, # optional
;TI":  verify_mode: verify_mode,         # default 'none'
;TI"L  verification_flags: flags,        # optional, not supported by JRuby
;TI"4  reuse: true                       # optional
;TI"}
;T;
0o;
;	[I"E@example Using self-signed certificate with the +localhost+ gem:;To;;	[I""ssl_bind '127.0.0.1', '9292'
;T;
0o;
;	[I"F@example Alternatively, you can provide +cert_pem+ and +key_pem+:;To;;	[
I"%ssl_bind '127.0.0.1', '9292', {
;TI"*  cert_pem: File.read(path_to_cert),
;TI"(  key_pem: File.read(path_to_key),
;TI"4  reuse: {size: 2_000, timeout: 20} # optional
;TI"}
;T;
0o;
;	[I"L@example For JRuby, two keys are required: +keystore+ & +keystore_pass+;To;;	[I"%ssl_bind '127.0.0.1', '9292', {
;TI"#  keystore: path_to_keystore,
;TI"   keystore_pass: password,
;TI"4  ssl_cipher_list: cipher_list,     # optional
;TI":  verify_mode: verify_mode          # default 'none'
;TI"};T;
0:
@fileI"lib/puma/dsl.rb;T:0@omit_headings_from_table_of_contents_below000[I"(host, port, opts = {});T@GFI"DSL;TcRDoc::NormalClass00