mirror of
https://github.com/faye/websocket-driver-ruby.git
synced 2025-11-01 13:59:38 +00:00
16 lines
330 B
Ruby
16 lines
330 B
Ruby
module WebSocket
|
|
module HTTP
|
|
|
|
root = File.expand_path('../http', __FILE__)
|
|
|
|
autoload :Headers, root + '/headers'
|
|
autoload :Request, root + '/request'
|
|
autoload :Response, root + '/response'
|
|
|
|
def self.normalize_header(name)
|
|
name.to_s.strip.downcase.gsub(/^http_/, '').gsub(/_/, '-')
|
|
end
|
|
|
|
end
|
|
end
|