Method: Farcall::Endpoint#close

Defined in:
lib/farcall/endpoint.rb

#closeObject

Close endpoint and connected transport

[View source]

75
76
77
78
79
# File 'lib/farcall/endpoint.rb', line 75

def close
  @transport.close
  @transport = nil
  @close_handler and @close_handler.call
end