summaryrefslogtreecommitdiff
path: root/lib/nickserver/adapters/celluloid_http.rb
blob: cdcc4931d35d9ab3fa7458aa259a4c4a507249ec (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
  # HTTP Adapter using Celluloid::IO
  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