Class: WEBrick::HTTPRequest Private
Do not use. This class is for internal use only.
Relationships & Source Files | |
Inherits: | Object |
Defined in: | lib/yard/server/webrick_adapter.rb |
Instance Attribute Summary
- #version_supplied rw Internal use only
- #xhr? ⇒ Boolean readonly Internal use only
Instance Attribute Details
#version_supplied (rw)
[ GitHub ]# File 'lib/yard/server/webrick_adapter.rb', line 43
attr_accessor :version_supplied
#xhr? ⇒ Boolean
(readonly)
# File 'lib/yard/server/webrick_adapter.rb', line 44
def xhr?; (self['X-Requested-With'] || "").casecmp('xmlhttprequest') == 0 end