Table of Contents

rest_pubsub

Library to work with the the REST based APIs for Cloud Pub/Sub.

This is a companion to grpc_pubsub in that the APIs are almost 100% compatible. The gRPC one is more efficient when running a Dart server, a desktop app, or a mobile app. However, gRPC isn't supported for PubSub via the browser, so this should be used in when running as a web application.

Using the library

Add the repo to your Flutter pubspec.yaml file.

dependencies:
  rest_pubsub: <<version>> 

Then run...

flutter packages get

Libraries

rest_pubsub