Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
s4nchez committed Nov 14, 2024
1 parent b13bda3 commit f40787c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ecosystem/connect/changelog/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion ecosystem/connect/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
uniform <a href=https://monkey.org/~marius/funsrv.pdf>Server as a Function</a> model powered by the <code>HttpHandler</code> interface
exposed by <a href=https://www.http4k.org/ecosystem/http4k/>http4k Core</a>, so you can:</p><ol><li>Take advantage of the simple and powerful SaaF model and APIs used in http4k.</li><li>Plug everything together completely in-memory and take advantage of this powerful model.</li><li>Have access to the underlying HTTP clients (and hence add metrics or logging).</li><li>Run stateful Fake implementations of 3rd party systems locally or in test environments.</li></ol><p>Although centered around usage in http4k-based projects, http4k-connect does not require this and the libraries are usable from any JVM application.</p><h2 id=rationale>Rationale</h2><p>Although convenient, many API Client libraries introduce many heavyweight dependencies or contain a plethora of non-required functionality, which can have a large effect on binary size. As an alternative, http4k-connect provides lightweight versions of popular APIs covering standard use-cases.</p><h2 id=installation>Installation</h2><div class=highlight><pre tabindex=0 style=color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4><code class=language-kotlin data-lang=kotlin><span style=display:flex><span>dependencies {
</span></span><span style=display:flex><span> <span style=color:#75715e>// install the platform...
</span></span></span><span style=display:flex><span><span style=color:#75715e></span> implementation(platform(<span style=color:#e6db74>&#34;org.http4k:http4k-connect-bom:5.25.1.0&#34;</span>))
</span></span></span><span style=display:flex><span><span style=color:#75715e></span> implementation(platform(<span style=color:#e6db74>&#34;org.http4k:http4k-connect-bom:5.26.0.0&#34;</span>))
</span></span><span style=display:flex><span>
</span></span><span style=display:flex><span> <span style=color:#75715e>// ...then choose an API Client
</span></span></span><span style=display:flex><span><span style=color:#75715e></span> implementation(<span style=color:#e6db74>&#34;org.http4k:http4k-connect-amazon-s3&#34;</span>)
Expand Down

0 comments on commit f40787c

Please sign in to comment.