Class: Stubby::Extensions::HTTP::SSLServer
- Inherits:
-
Server
- Object
- Server
- Stubby::Extensions::HTTP::SSLServer
show all
- Defined in:
- lib/stubby/extensions/http.rb
Instance Method Summary
collapse
Methods inherited from Server
#initialize, #restore!
Instance Method Details
#expand_rule(trigger, instruction) ⇒ Object
239
240
241
|
# File 'lib/stubby/extensions/http.rb', line 239
def expand_rule(trigger, instruction)
super(trigger, instruction, "https")
end
|
#run!(session, options) ⇒ Object
228
229
230
231
232
233
|
# File 'lib/stubby/extensions/http.rb', line 228
def run!(session, options)
return if options[:https] == false
@session = session
HTTPSApp.run!(session)
end
|
#stop! ⇒ Object
235
236
237
|
# File 'lib/stubby/extensions/http.rb', line 235
def stop!
HTTPSApp.quit!
end
|