Hi, I'm building an android application that open a server side streaming 
communication. I want to programmatically close it leaving the channel 
active. 

val stub = ControlsGrpc.newStub(getChannel()).withInterceptors(
         MetadataUtils.newAttachHeadersInterceptor(getAuthInterceptor())
      )
     
stub.subscribeToDeviceEvents(Empty.newBuilder().build(), observer)

The subscribeToDeviceEvents function returns Unit value, I only have the 
observer.
Thanks a lot 

-- 
You received this message because you are subscribed to the Google Groups 
"grpc.io" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to grpc-io+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/grpc-io/a4c4ad9e-bda5-405f-aa7b-1908f2087c43n%40googlegroups.com.

Reply via email to