Class: WsdlMapper::Runtime::SimpleHttpBackend
- Inherits:
-
BackendBase
- Object
- BackendBase
- WsdlMapper::Runtime::SimpleHttpBackend
- Includes:
- Middlewares
- Defined in:
- lib/wsdl_mapper/runtime/simple_http_backend.rb
Overview
Middleware Stack
Default Configuration
The default stack is composed of the following middlewares:
message.factory
: Middlewares::SimpleMessageFactoryrequest.factory
: Middlewares::SimpleRequestFactorydispatcher
: Middlewares::SimpleDispatcherresponse.factory
: Middlewares::SimpleResponseFactory
Customization
Instance Attribute Summary
Attributes inherited from BackendBase
Instance Method Summary (collapse)
-
- (SimpleHttpBackend) initialize(connection: Faraday.new)
constructor
A new instance of SimpleHttpBackend.
Methods inherited from BackendBase
Constructor Details
- (SimpleHttpBackend) initialize(connection: Faraday.new)
Returns a new instance of SimpleHttpBackend
25 26 27 28 29 30 31 |
# File 'lib/wsdl_mapper/runtime/simple_http_backend.rb', line 25 def initialize(connection: Faraday.new) super() stack.add 'message.factory', SimpleMessageFactory.new stack.add 'request.factory', SimpleRequestFactory.new stack.add 'dispatcher', SimpleDispatcher.new(connection) stack.add 'response.factory', SimpleResponseFactory.new end |