Sha256: 1bb8687a08ca693ca707117920821abecc566176d7a91038ef97d572bd36a4e6

Contents?: true

Size: 676 Bytes

Versions: 1

Compression:

Stored size: 676 Bytes

Contents

require 'reel'
require 'json'
require 'pry'
require 'pry-nav'

module Angelo

  GET =     'GET'.freeze
  POST =    'POST'.freeze
  PUT =     'PUT'.freeze
  DELETE =  'DELETE'.freeze
  OPTIONS = 'OPTIONS'.freeze

  CONTENT_TYPE_HEADER_KEY = 'Content-Type'.freeze

  HTML_TYPE = 'text/html'.freeze
  JSON_TYPE = 'application/json'.freeze
  FORM_TYPE = 'application/x-www-form-urlencoded'.freeze

  DEFAULT_RESPONSE_HEADERS = {
    CONTENT_TYPE_HEADER_KEY => HTML_TYPE
  }

  NOT_FOUND = 'Not Found'.freeze

end

require 'angelo/version'
require 'angelo/params_parser'
require 'angelo/server'
require 'angelo/base'
require 'angelo/responder'
require 'angelo/responder/websocket'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
angelo-0.0.4 lib/angelo.rb