gemini_protocol 1.1.1 copy "gemini_protocol: ^1.1.1" to clipboard
gemini_protocol: ^1.1.1 copied to clipboard

A pretty simple Gemini protocol implementation.

example/gemini_protocol_example.dart

// ignore_for_file: unused_local_variable

import 'dart:convert';
import 'package:gemini_protocol/gemini_protocol.dart';

void main() {
  final request = Request(
    url: Uri.parse("gemini://example.com"),
  );

  final response = Response(
    statusCode: StatusCode.success,
    meta: "text/gemini",
    body: utf8.encode("# Hello, world!"),
  );
}
0
likes
150
pub points
4%
popularity

Publisher

verified publisherarslee.dev

A pretty simple Gemini protocol implementation.

Repository

Documentation

API reference

License

GPL-3.0 (license)

More

Packages that depend on gemini_protocol