All Projects → seanmonstar → Warp

seanmonstar / Warp

Licence: mit
A super-easy, composable, web server framework for warp speeds.

Programming Languages

rust
11053 projects

Projects that are alternatives of or similar to Warp

Ego
Ego is a full-stack web framework written in Go, lightweight and efficient front-end component solutions, based on gin. The front-end is compiled, does not affect the back-end.
Stars: ✭ 185 (-96.76%)
Mutual labels:  framework, server
Aqueduct
Dart HTTP server framework for building REST APIs. Includes PostgreSQL ORM and OAuth2 provider.
Stars: ✭ 2,412 (-57.81%)
Mutual labels:  framework, server
Autoserver
Create a full-featured REST/GraphQL API from a configuration file
Stars: ✭ 188 (-96.71%)
Mutual labels:  framework, server
Pure Http
✨ The simple web framework for Node.js with zero dependencies.
Stars: ✭ 139 (-97.57%)
Mutual labels:  framework, server
Pogo
Server framework for Deno
Stars: ✭ 341 (-94.04%)
Mutual labels:  framework, server
Discord Backup
📦 Complete framework to facilitate server backup using discord.js v12
Stars: ✭ 172 (-96.99%)
Mutual labels:  framework, server
Moqui Framework
Use Moqui Framework to build enterprise applications based on Java. It includes tools for databases (relational, graph, document), local and web services, web and other UI with screens and forms, security, file/resource access, scripts, templates, l10n, caching, logging, search, rules, workflow, multi-instance, and integration.
Stars: ✭ 205 (-96.41%)
Mutual labels:  framework, server
Gin
Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
Stars: ✭ 53,971 (+844.04%)
Mutual labels:  framework, server
Pode
Pode is a Cross-Platform PowerShell web framework for creating REST APIs, Web Sites, and TCP/SMTP servers
Stars: ✭ 329 (-94.25%)
Mutual labels:  framework, server
1991
A server-side web framework written in Forth.
Stars: ✭ 309 (-94.6%)
Mutual labels:  framework, server
Go Xserver
Go 服务器框架(go-x.v2)
Stars: ✭ 137 (-97.6%)
Mutual labels:  framework, server
Vapor
💧 A server-side Swift HTTP web framework.
Stars: ✭ 21,194 (+270.72%)
Mutual labels:  framework, server
Ocpp
Python implementation of the Open Charge Point Protocol (OCPP).
Stars: ✭ 127 (-97.78%)
Mutual labels:  framework, server
Sifrr
⚡️ Set of tiny, independent libraries for creating modern and fast webapps with javascript/typescript
Stars: ✭ 174 (-96.96%)
Mutual labels:  framework, server
Xtcp
A TCP Server Framework with graceful shutdown, custom protocol.
Stars: ✭ 116 (-97.97%)
Mutual labels:  framework, server
Actionhero
Actionhero is a realtime multi-transport nodejs API Server with integrated cluster capabilities and delayed tasks
Stars: ✭ 2,280 (-60.12%)
Mutual labels:  framework, server
Novuscore
A modern take on WoW emulation
Stars: ✭ 88 (-98.46%)
Mutual labels:  framework, server
Micro
Micro is a distributed cloud operating system
Stars: ✭ 10,778 (+88.53%)
Mutual labels:  framework, server
Golf
⛳️ The Golf web framework
Stars: ✭ 248 (-95.66%)
Mutual labels:  framework, server
Cppwebframework
​The C++ Web Framework (CWF) is a MVC web framework, Open Source, under MIT License, using C++ with Qt to be used in the development of web applications.
Stars: ✭ 348 (-93.91%)
Mutual labels:  framework, server

warp

crates.io Released API docs MIT licensed GHA Build Status Discord chat

A super-easy, composable, web server framework for warp speeds.

The fundamental building block of warp is the Filter: they can be combined and composed to express rich requirements on requests.

Thanks to its Filter system, warp provides these out of the box:

  • Path routing and parameter extraction
  • Header requirements and extraction
  • Query string deserialization
  • JSON and Form bodies
  • Multipart form data
  • Static Files and Directories
  • Websockets
  • Access logging
  • Gzip, Deflate, and Brotli compression

Since it builds on top of hyper, you automatically get:

  • HTTP/1
  • HTTP/2
  • Asynchronous
  • One of the fastest HTTP implementations
  • Tested and correct

Example

Add warp and Tokio to your dependencies:

tokio = { version = "1", features = ["full"] }
warp = "0.3"

And then get started in your main.rs:

use warp::Filter;

#[tokio::main]
async fn main() {
    // GET /hello/warp => 200 OK with body "Hello, warp!"
    let hello = warp::path!("hello" / String)
        .map(|name| format!("Hello, {}!", name));

    warp::serve(hello)
        .run(([127, 0, 0, 1], 3030))
        .await;
}

For more information you can check the docs or the examples.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].