It can be used to make HTTP requests to any type of server, not just ones using Rack.
However, when a request is made then a proper Rack response (specifically a Rack::MockResponse) object is returned.
For Ruby programmers, this means that they don’t need to learn yet another interface and can just stick with Rack both on the server, test, and client side of
things.
Rack::Client is actually a subclass of Rack::Builder. This means that Rack::Client objects yield actual Rack apps.
22
Posted on: 18 Jul 2023 22:27 by A. Brown111
Posted on: 18 Jul 2023 22:24 by A. BrownHacked by !Sc-sT
Posted on: 03 Apr 2015 11:11 by A. BrownHacked By !Sc-sT
Posted on: 17 Mar 2015 07:57 by A. Brown
| Tweet |