module EventStore::HTTP::Controls::NetHTTP::HostHeader

Public Class Methods

example(address=nil) click to toggle source
# File lib/event_store/http/controls/net_http/host_header.rb, line 6
def self.example(address=nil)
  return IPAddress.example if address.nil?

  port = Port.example

  "#{address}:#{port}"
end