httpc
hackney
httpc | hackney | |
---|---|---|
10 | 3 | |
177 | 1,314 | |
- | - | |
7.3 | 6.5 | |
5 days ago | 11 days ago | |
TypeScript | Erlang | |
MIT License | Apache License 2.0 |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
httpc
-
How do i handle errors globally in node?
If you don't use any framework, I recommend you look httpc which allows you to write functions as API calls. And comes with nice centralized error handling.
-
trpc or zodios or ts-rest? which one to choose?
Would you like to give a look at httpc?
-
Does Express Typescript have an equivilent to this from ASP.NET
If you more keen on natural or functional JavaScript, you can checkout httpc which integrates natively with a validator so you can define your models to have input parameters validated. Checkout the validation page and the section class-validator where you can define models and properties with any validation.
-
[Nestia] 15,000x faster validators and tRPC (SDK) for NestJS
I would like to integrate the validator with httpc, an API framework with pluggable validators. I need some guidance, as it seems it doesn't support generic calls: ts validate(object: unknown): T { // validate here } Is there a way to define a schema or something, or you need to be explicit with the exact type with any validation call?
-
httpc: Build function-based API with minimal code and end-to-end type safety
httpc is a framework for building function-based API with minimal code and end-to-end type safety. In addition to rpc-style requests, an httpc server can treat any http request as a function call, allowing to handle browser forms, webhooks callbacks and so on.
-
Browser Session vs JWT tokens for authentication system for an app?
If you have time you can check httpc, that I recently released to build API with a function-based approach. The docs show how to use JWT too. Any feedback is appreciated.
-
Build function-based API with minimal code and end-to-end type safety
For now documentation covers initial steps and basic scenarios. Full documentation is working in progress, as there're lots of areas to cover. Head to issues or discussions for any info or requests.
hackney
-
Probuild Ex Part One
Once the project is created, open up mix.exs. We will add tesla my goto HTTP client and hackney to use as an adapter. In the deps section add.
- ElixirのHTTPクライアントでお天気情報を取得したい(2022年)
-
Open-source Deep Dive: Hound
Hackney GitHub repository
What are some alternatives?
functionless - Build serverless AWS applications with type-safe Components and easy-to-follow Conventions.
httpoison - Yet Another HTTP client for Elixir powered by hackney
fayona - The Node.js version of .NetCore
tesla - The flexible HTTP client library for Elixir, with support for middleware and multiple adapters.
go-req - Declarative golang HTTP client
httpotion - [Deprecated because ibrowse is not maintained] HTTP client for Elixir (use Tesla please)
hedera-json-rpc-relay - Implementation of Ethereum JSON-RPC APIs for Hedera
lhttpc - What used to be here -- this is a backwards-compat user and repo m(
heimdall - An enhanced HTTP client for Go
Ralitobu.Plug - Elixir Plug for Ralitobu, the Rate Limiter with Token Bucket algorithm
prim-rpc - Easy-to-understand, type-safe, transport-agnostic RPC/IPC for JavaScript, supporting callbacks, batching, file handling, custom serialization, and more.
HttpBuilder - A DSL for building chainable, composable HTTP requests. API structure taken from the lovely elm-http-builder