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