Features:
- Pass the SafeToStopAudio flag recieved from the server with the PartialTranscript (See the streaming part of the example)
- Allow for adding context to the http.Request struct prior to the request being made
- Allow for adding extra arbitrary headers to the request
Changes:
- Updated example to demonstrate streaming audio & using SafeToStopAudio flag
Bugfixes:
- Fixed bug that if RequestInfo isn't provided a panic occurs, an empty map is used instead now
Bugfixes:
- Changed the language headers to match expected format
Changes:
- Updated the example audio files provided in the test_audio directory
Features:
- Allow sending Request-Info in request body instead of in header
- Started request test suite
Changes:
- Refactor request generating code
- Run tests in travis
- Added error for empty server responses
New Dependencies:
- github.com/google/go-cmp
- github.com/pkg/errors
- gotest.tools