Class HttpServer::Request
In: xmlrpc/httpserver.rb
Parent: Object

Classes ————————————————-

Methods

Attributes

data  [R] 
header  [R] 
method  [R] 
path  [R] 
proto  [R] 

Public Class methods

[Source]

# File xmlrpc/httpserver.rb, line 53
    def initialize(data, method=nil, path=nil, proto=nil)
      @header, @data = Table.new, data
      @method, @path, @proto = method, path, proto
    end

Public Instance methods

[Source]

# File xmlrpc/httpserver.rb, line 58
    def content_length
      len = @header['Content-Length']
      return nil if len.nil?
      return len.to_i 
    end

[Validate]