Skip to content

Commit c0be210

Browse files
docs(readme): explain how to find transaction id
1 parent da51815 commit c0be210

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@ See [CHANGELOG.md](CHANGELOG.md) for a complete list of changes.
6060

6161
## Development
6262

63+
### Global Transaction ID
64+
65+
Unfortunately, there is no way to set or get the global transaction id provided by the initial websocket handshake with the Speech service. This is due to limitations from the W3C Websocket API for browser. It is possible; however, to grab the `X-Global-Transaction-Id` header through a browser's dev tool "Network" tab. After making a call to the service, look for a request to the `v1/recognize` endpoint which should return a 101 code. The response headers from that request will contain the `X-Global-Transaction-Id` header.
66+
6367
### Use examples for development
6468

6569
The provided examples can be used to test developmental code in action:

0 commit comments

Comments
 (0)