gazelle_core library

Welcome to Gazelle Framework – your gateway to crafting high-performance web applications in Dart!

With Gazelle, you'll harness the power of efficient route matching using Trie data structures, seamlessly handle HTTP requests and responses, and effortlessly build custom routers and middleware.

Gazelle embraces a modular architecture, allowing you to extend its functionality through custom plugins. Whether you're integrating authentication, logging, or other common features, Gazelle's plugin system empowers you to tailor your application to your specific needs.

Empower your web development journey with Gazelle Framework and unlock the potential to create blazing-fast and scalable server-side applications with ease. Let's embark on this exciting adventure together!

Classes

GazelleApp
A lightweight and flexible HTTP server framework for Dart.
GazelleContext
Manages the context for Gazelle applications, including routing and plugin management.
GazelleMessage
Represents a message exchanged between the client and the server in Gazelle.
GazellePlugin
Represents a plugin in Gazelle.
GazellePostResponseHook
Represents a post-response hook for Gazelle routes.
GazellePreRequestHook
Represents a pre-request hook for Gazelle routes.
GazelleRequest
Represents an HTTP request in Gazelle.
GazelleResponse
Represents an HTTP response in Gazelle.
GazelleRoute
Represents a route in the Gazelle router.
GazelleRouter
A router for managing Gazelle routes.
GazelleRouterSearchResult
Represents the result of a search in the Gazelle router.
GazelleSSLCertificate
Represents an SSL certificate used for secure communication in Gazelle.

Enums

GazelleHeaders
An enumeration representing standard HTTP headers values.
GazelleHttpMethod
An enumeration representing HTTP methods supported by Gazelle.

Typedefs

GazelleHookCallbackResult = (GazelleRequest, GazelleResponse)
Represents the result of a GazellePreRequestHookCallback or a GazellePostResponseHookCallback.
GazellePostResponseHookCallback = Future<GazelleHookCallbackResult> Function(GazelleRequest request, GazelleResponse response)
A function type representing a post-response hook, which is executed after handling an incoming request.
GazellePreRequestHookCallback = Future<GazelleHookCallbackResult> Function(GazelleRequest request, GazelleResponse response)
A function type representing a pre-request hook, which is executed before handling an incoming request.
GazelleRouteHandler = Future<GazelleResponse> Function(GazelleRequest request, GazelleResponse response)
Represents a handler for a Gazelle route.