TestServiceWithCustomOptionsServiceBase constructor

TestServiceWithCustomOptionsServiceBase()

Implementation

TestServiceWithCustomOptionsServiceBase() {
  $addMethod($grpc.ServiceMethod<$0.CustomOptionFooRequest,
          $0.CustomOptionFooResponse>(
      'Foo',
      foo_Pre,
      false,
      false,
      ($core.List<$core.int> value) =>
          $0.CustomOptionFooRequest.fromBuffer(value),
      ($0.CustomOptionFooResponse value) => value.writeToBuffer()));
}