Class: Gem::Resolv::DNS::SvcParam::DoHPath
| Relationships & Source Files | |
| Super Chains via Extension / Inclusion / Inheritance | |
| Class Chain: | |
| Instance Chain: | |
| Inherits: | Gem::Resolv::DNS::SvcParam 
 | 
| Defined in: | lib/rubygems/vendor/resolv/lib/resolv.rb | 
Overview
“dohpath” ::Gem::Resolv::DNS::SvcParam – ::Gem::Resolv::DNS over HTTPS path template [RFC9461]
Constant Summary
- 
    KeyName =
    
 # File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2063:dohpath 
- 
    KeyNumber =
    
 # File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 20647
::Gem::Resolv::DNS::SvcParam - Inherited
  
Class Method Summary
- 
    
      .new(template)  ⇒ DoHPath 
    
    constructor
    Initialize “dohpath” ScvParam. 
- .decode(msg) Internal use only
::Gem::Resolv::DNS::SvcParam - Inherited
| .key_name | Get the presentation name of the SvcParamKey. | 
| .key_number | Get the registered number of the SvcParamKey. | 
Instance Attribute Summary
- 
    
      #template  
    
    readonly
    ::Gem::URItemplate for DoH queries.
Instance Method Summary
- #encode(msg) Internal use only
Constructor Details
    .new(template)  ⇒ DoHPath 
  
Initialize “dohpath” ScvParam.
Class Method Details
.decode(msg)
    This method is for internal use only.
  
  [ GitHub ]
Instance Attribute Details
#template (readonly)
::Gem::URI template for DoH queries.
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2070
attr_reader :template
Instance Method Details
#encode(msg)
    This method is for internal use only.
  
  [ GitHub ]
# File 'lib/rubygems/vendor/resolv/lib/resolv.rb', line 2079
def encode(msg) # :nodoc: msg.put_bytes(@template) end