A transport that can send gRPC requests that are "kept alive" after page unloads by passing in a special header to the gRPC method, namely:
{ ["###keepalive###"]: "true"} Copy
{ ["###keepalive###"]: "true"}
This header will not be passed to the fetch function as a header, instead it will be extracted and used to determine the keepalive option for fetch.
fetch
A transport that can send gRPC requests that are "kept alive" after page unloads by passing in a special header to the gRPC method, namely:
This header will not be passed to the
fetchfunction as a header, instead it will be extracted and used to determine the keepalive option for fetch.