Skip to content
This repository has been archived by the owner on May 15, 2019. It is now read-only.

Accessing the gRPC API

Jason Dobry edited this page Dec 30, 2016 · 1 revision

Table of Contents

The Emulator's gRPC API

The Emulator implements the Google Cloud Functions gRPC API as defined in https://github.com/googleapis/googleapis/blob/master/google/cloud/functions/v1beta2/functions.proto.

When the Emulator starts, it's gRPC API listens on the host and port as configured in the grpcHost and grpcPort settings, which default to localhost and 8009, respectively. You can see the hostname on which the Emulator's gRPC API is listening by running:

functions status

which should print an entry like this:

├────────────────┼───────────────────────────┤
│ gRPC Service   │ http://localhost:8008/    │
├────────────────┼───────────────────────────┤

Creating a client

TODO

Making a request

TODO