mattermost/python-sdk
Nick Misasi 19c392084b feat(08-01): add protobuf contract for ServeHTTP request streaming
Add bidirectional streaming RPC for ServeHTTP hook to support
efficient HTTP request/response transfer between Go and Python.

Key changes:
- New hooks_http.proto with ServeHTTPRequest/Response messages
- HTTPHeader message for multi-value header support
- ServeHTTPRequestInit with full request metadata
- ServeHTTPResponseInit for status and headers
- Body chunks with completion flag for streaming
- Updated hooks.proto with ServeHTTP streaming RPC
- Regenerated Go and Python code

Design decisions:
- 64KB default chunk size per gRPC best practices
- First message carries metadata, subsequent messages carry body
- body_complete flag signals end of stream
- Headers as repeated HTTPHeader for multi-value support

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-19 14:23:38 -05:00
..
scripts feat(06-02): add coverage audit script for RPC/method parity 2026-01-19 09:55:10 -05:00
src/mattermost_plugin feat(08-01): add protobuf contract for ServeHTTP request streaming 2026-01-19 14:23:38 -05:00
tests test(07-03): add comprehensive tests for remaining hooks 2026-01-19 11:41:41 -05:00
pyproject.toml feat(07-01): export hook system public API and add dependencies 2026-01-19 11:18:28 -05:00