Home
last modified time | relevance | path

Searched refs:accept (Results 1 – 8 of 8) sorted by relevance

/tonic/tonic-web/src/
H A Dservice.rs34 accept: Encoding,
74 accept, in call()
76 trace!(kind = "simple", path = ?req.uri().path(), ?encoding, ?accept); in call()
81 accept, in call()
133 accept: Encoding,
165 CaseProj::GrpcWeb { future, accept } => { in poll()
168 Poll::Ready(Ok(coerce_response(res, *accept))) in poll()
195 accept: Encoding::from_accept(headers), in new()
/tonic/tonic/src/transport/server/service/
H A Dtls.rs59 pub(crate) async fn accept<IO>(&self, io: IO) -> Result<TlsStream<IO>, crate::BoxError> in accept() method
64 acceptor.accept(io).await.map_err(Into::into) in accept()
/tonic/tonic/src/transport/server/
H A Dio_stream.rs96 let io = tls.accept(stream).await?; in poll_next()
166 accept = tasks.join_next() => { in select()
167 match accept.expect("JoinSet should never end") { in select()
/tonic/tonic-web/
H A DREADME.md9 and allow the tonic server to accept HTTP/1.1 requests:
/tonic/tests/web/tests/
H A Dgrpc_web.rs111 fn build_request(base_uri: String, content_type: &str, accept: &str) -> Request<Body> { in build_request()
130 .header(ACCEPT, format!("application/{}", accept)) in build_request()
/tonic/examples/src/tls_rustls/
H A Dserver.rs53 let (conn, addr) = match listener.accept().await { in main()
/tonic/examples/src/h2c/
H A Dserver.rs47 match incoming.accept().await { in main()
/tonic/
H A DCHANGELOG.md476 * **transport:** Fix TLS accept w/ peer certs ([#535](https://github.com/hyperium/tonic/issues/535)…