BoxLang 🚀 A New JVM Dynamic Language Learn More...
Hyper was built after coding several API SDK's for various platforms —
S3SDK,
cbstripe, and
cbgithub, to name a few. I noticed that I
spent a lot of time setting up the plumbing for the requests and a wrapper
around cfhttp
. Each implementation was mostly the same but slightly different.
It was additionally frustrating because I really only needed to tweak a few
values, usually just the Authorization
header. It would be nice to create an
HTTP client pre-configured for each of these SDK's. It seemed the perfect fit
for a module.
Hyper exists to provide a fluent builder experience for HTTP requests and responses. It also provides a powerful way to create clients, i.e. Builder objects with pre-configured defaults like a base URL or certain headers.
Hyper runs on Adobe ColdFusion 2018+ and Lucee 5+.
ColdBox is not required, but mappings are provided for ColdBox users automatically.
You can find all of the documentation for Hyper at https://hyper.ortusbooks.com.
asXML
support (16dab5e)onHyperResponse
interception point. (07ca539)asBinary
helper method.
(98053ed)HyperCFML/#versionNumber#
User-Agent (60100c4)resetFakes
(beab1b7)isCreated
shortcut status check
(8d3c169)forwardHeaders
shortcut method (5924787)structCount
for Adobe compatibility (f17fa8c)MissingAsyncManager
type to missing asyncManager exception
(18a2fa6)resolveUrls
and encodeUrl
properties to the memento
(1a8f85f)encodeUrl
when cloning a request
(c996b0f)Content-Type
(7a80b01)adobe@2023
to the testing matrix
(5bf1260)onHyperResponse
interception point. (07ca539)asBinary
helper method.
(98053ed)HyperCFML/#versionNumber#
User-Agent (60100c4)resetFakes
(beab1b7)
$
box install hyper