Skip to content

Commit

Permalink
docs: fix admonition in access flow page (#4655)
Browse files Browse the repository at this point in the history
  • Loading branch information
cristianmtr committed Apr 21, 2022
1 parent b76d477 commit d2161e6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/fundamentals/flow/access-flow-api.md
Original file line number Diff line number Diff line change
Expand Up @@ -315,10 +315,10 @@ We use [subprotocols](https://developer.mozilla.org/en-US/docs/Web/API/WebSocket
The Flow defaults to `json` when a subprotocol is not passed during connection establishment (Our Python client uses `bytes` streaming by using [jina.proto](../../proto/docs.md) definition).


````{admonition} Note
````{admonition} Hint
- Choose Websocket over HTTP, if you want to stream requests.
- Choose Websocket over gRPC, if
- Choose Websocket over HTTP if you want to stream requests.
- Choose Websocket over gRPC if
- you want to stream using JSON, not bytes
- your client language doesn't support gRPC
- you don't want to compile the [Protobuf definitions](../../proto/docs.md) for your gRPC client
Expand Down

0 comments on commit d2161e6

Please sign in to comment.