module HTTPX::Punycode

  1. lib/httpx/punycode.rb

Methods

Public Instance

  1. encode_hostname

Public Instance methods

encode_hostname(hostname)
[show source]
   # File lib/httpx/punycode.rb
10 def encode_hostname(hostname)
11   Idnx.to_punycode(hostname)
12 end