awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
httpswift avatar

httpswift/swifter

0
View on GitHub↗
4,018 星标·553 分支·Swift·BSD-3-Clause·6 次浏览

Swifter

Swifter 是一个用 Swift 编程语言编写的轻量级 HTTP 服务器引擎和路由系统。它作为一个 Web 服务器,能够处理网络请求并交付 HTML 和纯文本等响应。

该项目提供了一个 Swift WebSocket 服务器,用于建立双向实时通信通道以交换文本和二进制数据。它还包括一个静态文件服务器,将 URL 路径映射到本地目录以实现直接的文件系统访问。

该引擎通过将特定的 URL 路径映射到处理函数来管理 HTTP 请求路由,从而交付动态内容或执行重定向。

Features

  • Web Servers - Provides a lightweight HTTP server engine to listen for network requests and deliver responses.
  • WebSocket Servers - Provides a server-side implementation for maintaining bidirectional real-time communication channels.
  • WebSocket Connection Management - Establishes and manages bidirectional real-time communication channels using WebSockets.
  • Closure Route Handlers - Allows mapping URL paths directly to anonymous closure functions as request handlers.
  • HTTP Request Routing - Maps incoming URL paths to specific handler functions to generate web responses.
  • HTTP Servers - Implements a lightweight Swift-based HTTP server engine for handling network requests and responses.
  • Real-Time Communication - Enables real-time, bidirectional data exchange between clients and the server using WebSockets.
  • URL Routing Engines - Ships a rule-based engine that matches URL paths to handler functions for returning web content.
  • Stateful Handshakes - Implements the protocol handshake required to upgrade standard HTTP connections to bidirectional WebSocket streams.
  • Static File Hosting - Serves local directory files over HTTP for direct asset access and downloads.
  • Static File Servers - Includes a component that maps URL paths to local directories for static file delivery.
  • Filesystem Static File Servings - Provides the ability to stream files directly from the local filesystem to clients based on URL paths.
  • Web Servers - Implements an HTTP server with routing handlers.
  • Server Side Swift - Tiny HTTP server engine.

Star 历史

httpswift/swifter 的 Star 历史图表httpswift/swifter 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Swifter 的开源替代方案

相似的开源项目,按与 Swifter 的功能重合度排序。
  • perfectlysoft/perfectPerfectlySoft 的头像

    PerfectlySoft/Perfect

    13,753在 GitHub 上查看↗

    Perfect is a server-side Swift framework designed for building high-performance web applications, REST APIs, and backend services. It provides an asynchronous HTTP server that handles web traffic through an event loop, alongside a web template engine for generating dynamic HTML pages. The project includes a WebSocket communication library for implementing bidirectional, real-time data exchange between clients and servers. It also provides a database connector to establish connections and exchange data between Swift applications and external database stores. The framework's capabilities cover

    Swift
    在 GitHub 上查看↗13,753
  • oakserver/oakoakserver 的头像

    oakserver/oak

    5,408在 GitHub 上查看↗

    Oak is a cross-runtime HTTP middleware framework and web server designed to operate across Deno, Node.js, Bun, and Cloudflare Workers. It provides a unified system for building APIs and web servers using a sequential chain of middleware functions and a hierarchical routing engine that maps URL paths to handlers via a nested tree structure. The framework includes a runtime-agnostic serverless adapter that translates diverse cloud provider events into a standard request and response interface. It also features a dedicated WebSocket server implementation for bidirectional real-time communication

    TypeScript
    在 GitHub 上查看↗5,408
  • nanohttpd/nanohttpdNanoHttpd 的头像

    NanoHttpd/nanohttpd

    7,215在 GitHub 上查看↗

    NanoHTTPD is a lightweight, embeddable HTTP server for Java applications. It allows developers to integrate web server capabilities directly into a Java project to handle incoming requests without requiring a standalone installation. The project provides specialized implementations for an HTTPS web server, a WebSocket server for bidirectional real-time communication, and a static file web server. These capabilities enable secure network traffic through SSL certificates and the delivery of local files with automatic MIME type detection. The server includes systems for request routing and hand

    Java
    在 GitHub 上查看↗7,215
  • hoisie/webhoisie 的头像

    hoisie/web

    3,683在 GitHub 上查看↗

    Hono is a lightweight Go web framework designed for building high-performance backend services and applications. It provides a core HTTP routing engine that maps URLs and methods to handler functions using patterns and regular expressions. The toolkit includes a WebSocket server implementation for real-time bidirectional communication and a secure cookie manager that uses encryption and HMAC signatures to prevent session tampering. It also features a FastCGI server interface, allowing applications to communicate with external process managers and web servers via FastCGI and SCGI protocols. T

    Go
    在 GitHub 上查看↗3,683
查看 Swifter 的所有 30 个替代方案→

常见问题解答

httpswift/swifter 是做什么的?

Swifter 是一个用 Swift 编程语言编写的轻量级 HTTP 服务器引擎和路由系统。它作为一个 Web 服务器,能够处理网络请求并交付 HTML 和纯文本等响应。

httpswift/swifter 的主要功能有哪些?

httpswift/swifter 的主要功能包括:Web Servers, WebSocket Servers, WebSocket Connection Management, Closure Route Handlers, HTTP Request Routing, HTTP Servers, Real-Time Communication, URL Routing Engines。

httpswift/swifter 有哪些开源替代品?

httpswift/swifter 的开源替代品包括: perfectlysoft/perfect — Perfect is a server-side Swift framework designed for building high-performance web applications, REST APIs, and… oakserver/oak — Oak is a cross-runtime HTTP middleware framework and web server designed to operate across Deno, Node.js, Bun, and… nanohttpd/nanohttpd — NanoHTTPD is a lightweight, embeddable HTTP server for Java applications. It allows developers to integrate web server… hoisie/web — Hono is a lightweight Go web framework designed for building high-performance backend services and applications. It… sanic-org/sanic — Sanic is an asynchronous Python web framework designed for building high-performance APIs and services. It operates as… dodyg/practical-aspnetcore — This project is a comprehensive sample library and implementation guide for ASP.NET Core. It provides a collection of…