fbthrift 1.0.0+3 copy "fbthrift: ^1.0.0+3" to clipboard
fbthrift: ^1.0.0+3 copied to clipboard

Thrift for Dart, forkde from Apache Thrift and translated from fbthrift java version.

example/fbthrift.dart

// Copyright (c) 2023- All souce code authors. All rights reserved.
//
// This source code is licensed under Apache 2.0 License.

import 'dart:io';

import 'package:fbthrift/fbthrift.dart';

Future<void> main(List<String> arguments) async {
  TTransport transport =
      TSocketTransport(socket: await Socket.connect('127.0.0.1', 9669));

  var headTransport = THeaderTransport(
    transport: transport,
    clientTypes: [ClientTypes.HEADERS],
    supportedClients: [false],
  );
  var protocol = THeaderProtocol(headTransport);
  print(protocol);
}
1
likes
130
pub points
43%
popularity

Publisher

verified publisherdudu.ltd

Thrift for Dart, forkde from Apache Thrift and translated from fbthrift java version.

Repository (GitHub)
View/report issues

Documentation

API reference

License

unknown (license)

Dependencies

fixnum

More

Packages that depend on fbthrift