Skip to main content

nitro_server 1.0.1 copy "nitro_server: ^1.0.1" to clipboard
nitro_server: ^1.0.1 copied to clipboard

Fast HTTP/1.1 and WebSocket server for Dart and Flutter, backed by a native multithreaded C++ engine over Nitro FFI, with trie routing and per-route timeouts.

Use this package as an executable

Install it

You can install the package from the command line:

dart pub global activate nitro_server

Use it

The package has the following executables:

$ nitro

Use this package as a library

Depend on it

Run this command:

With Flutter:

 $ flutter pub add nitro_server

This will add a line like this to your package's pubspec.yaml (and run an implicit flutter pub get):

dependencies:
  nitro_server: ^1.0.1

Alternatively, your editor might support flutter pub get. Check the docs for your editor to learn more.

Import it

Now in your Dart code, you can use:

import 'package:nitro_server/nitro_server.dart';
0
likes
150
points
112
downloads

Documentation

API reference

Publisher

verified publishershreeman.dev

Weekly Downloads

Fast HTTP/1.1 and WebSocket server for Dart and Flutter, backed by a native multithreaded C++ engine over Nitro FFI, with trie routing and per-route timeouts.

Repository (GitHub)
View/report issues

Topics

#http #server #network #ffi #nitro

License

MIT (license)

Dependencies

code_assets, crypto, hooks, hotreloader, meta, nitro

More

Packages that depend on nitro_server

Packages that implement nitro_server