This works Thanks On Wednesday, September 28, 2016 at 1:29:41 AM UTC+2, Michael Rose wrote: > > You can access it via the Context: > > Deadline deadline = Context.current().getDeadline(); > > Keep in mind, Context is thread local, so if you dispatch to another > thread you'll need to ensure that state is transferred or just extract the > Deadline and pass that around. > > -MR > > On Thursday, September 22, 2016 at 9:17:20 AM UTC-6, Mathias Chouilly > wrote: >> >> In java >> >> On Thu, Sep 22, 2016 at 4:46 PM, Nathaniel Manista <[email protected]> >> wrote: >> >>> On Thu, Sep 22, 2016 at 7:39 AM, <[email protected]> wrote: >>> >>>> I'm having the same trouble finding documentation and/or examples for >>>> how a server can get the timeout deadline from a client call. >>>> Is it possible ? >>>> >>> >>> In what language are you writing your service-side code? >>> -Nathaniel >>> >> >>
-- 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/grpc-io. To view this discussion on the web visit https://groups.google.com/d/msgid/grpc-io/c06b4197-8f58-475a-b09a-416b49fdb101%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
