gemini_protocol 1.1.1 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!"),
);
}