grpc_alice

This package help to log GRPC request and response.

Preview

Preview

Installing

  1. Add dependencies to pubspec.yaml

    Get the latest version in the 'Installing' tab on pub.dev

    dependencies:
        grpc_alice: <latest-version>
    
  2. Run pub get.

    flutter pub get
    
  3. Import package.

    import 'package:grpc_alice/grpc_alice.dart';
    

Implementation

  1. Wrap MaterialApp with GrpcAlice .

    GrpcAlice(
        child: MaterialApp(
            // Your initialization for material app.
        ),
    )
    
  2. use MyInterceptor in grpc interceptors options.

    MyHandlerClient myHandlerClient = MyHandlerClient(grpcClient.channel, interceptors: [MyInterceptor()]);
    
  3. Shake your device.

Libraries

grpc_alice