class Gem::GemcutterUtilities::WebauthnListener::SocketResponder - Documentation for Ruby 4.0
Description: Documentation for the Gem::GemcutterUtilities::WebauthnListener::SocketResponder class
Keywords: ruby,class,Gem::GemcutterUtilities::WebauthnListener::SocketResponder

🔍

No recent searches

# class Gem::GemcutterUtilities::WebauthnListener::SocketResponder

### Public Class Methods

new (socket)
Source

    # File lib/rubygems/gemcutter_utilities/webauthn_listener.rb, line 102
    def initialize(socket)
      @socket = socket
    end

### Public Instance Methods

send (response)
Source

    # File lib/rubygems/gemcutter_utilities/webauthn_listener.rb, line 106
    def send(response)
      @socket.print response.to_s
      @socket.close
    end