Skip to main content

drive_bidi_upgrade

Function drive_bidi_upgrade 

Source
pub async fn drive_bidi_upgrade(upgrade: Upgrade)
Available on crate feature server only.
Expand description

Drive a bidi RPC to completion over its upgraded transport: build the Channel, run the responder loop, and write the terminating grpc-status trailers. Generated Handler::upgrade delegates here. A no-op if the upgrade wasn’t ours (shouldn’t happen given has_bidi_upgrade gates it).