summaryrefslogtreecommitdiff
path: root/lib/nickserver/adapters/celluloid_http.rb
blob: 62f905f4cf9067ed572f9576d1a152898c2bb42a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
require 'nickserver/adapters/http'
silence_warnings do
  require 'celluloid/io'
end

module Nickserver::Adapters
  class CelluloidHttp < Http
    silence_warnings do
      include Celluloid::IO
    end

    protected

    def default_options
      super.merge ssl_socket_class: Celluloid::IO::SSLSocket
    end

  end
end