Class: WEBrick::ProxyRule

Inherits:
Struct
  • Object
show all
Defined in:
lib/webrick/httpreverseproxyserver.rb

Overview

Proxy rule to configure WEBrick::HTTPReverseProxyServer

Instance Attribute Summary collapse

Instance Attribute Details

#hostObject

Returns the value of attribute host

Returns:

  • (Object)

    the current value of host



8
9
10
# File 'lib/webrick/httpreverseproxyserver.rb', line 8

def host
  @host
end

#patternObject

Returns the value of attribute pattern

Returns:

  • (Object)

    the current value of pattern



8
9
10
# File 'lib/webrick/httpreverseproxyserver.rb', line 8

def pattern
  @pattern
end

#portObject

Returns the value of attribute port

Returns:

  • (Object)

    the current value of port



8
9
10
# File 'lib/webrick/httpreverseproxyserver.rb', line 8

def port
  @port
end

#replacementObject

Returns the value of attribute replacement

Returns:

  • (Object)

    the current value of replacement



8
9
10
# File 'lib/webrick/httpreverseproxyserver.rb', line 8

def replacement
  @replacement
end