Update Object.Search, stream

This commit is contained in:
Evgeniy Kulikov 2020-02-03 12:36:37 +03:00
parent a28f93bf0d
commit d75a56f92e
No known key found for this signature in database
GPG key ID: BF6AEE0A2A699BF2
3 changed files with 109 additions and 82 deletions

View file

@ -40,7 +40,7 @@ service Service {
// Search objects in container. Version of query language format SHOULD BE
// set to 1. Search query represented in serialized format (see query
// package).
rpc Search(SearchRequest) returns (SearchResponse);
rpc Search(SearchRequest) returns (stream SearchResponse);
// GetRange of data payload. Ranges are set of pairs (offset, length).
// Fragments order in response corresponds to ranges order in request.