| /webrtc/ice/examples/ |
| H A D | ping_pong.rs | 41 async fn remote_handler(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in remote_handler() 43 match (req.method(), req.uri().path()) { in remote_handler() 46 match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) { in remote_handler() 61 match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) { in remote_handler() 211 let req = match Request::builder() in main() localVariable 218 Ok(req) => req, in main() 224 let resp = match client3.request(req).await { in main() 251 let req = match Request::builder() in main() localVariable 256 Ok(req) => req, in main() 259 let resp = match client.request(req).await { in main()
|
| /webrtc/examples/examples/offer-answer/ |
| H A D | offer.rs | 40 let req = match Request::builder() in signal_candidate() localVariable 46 Ok(req) => req, in signal_candidate() 53 let _resp = match Client::new().request(req).await { in signal_candidate() 66 async fn remote_handler(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in remote_handler() 76 match (req.method(), req.uri().path()) { in remote_handler() 83 match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) { in remote_handler() 106 let sdp_str = match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) in remote_handler() 345 let req = match Request::builder() in main() localVariable 351 Ok(req) => req, in main() 355 let _resp = match Client::new().request(req).await { in main()
|
| H A D | answer.rs | 41 let req = match Request::builder() in signal_candidate() localVariable 47 Ok(req) => req, in signal_candidate() 54 let _resp = match Client::new().request(req).await { in signal_candidate() 67 async fn remote_handler(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in remote_handler() 77 match (req.method(), req.uri().path()) { in remote_handler() 84 match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) { in remote_handler() 107 let sdp_str = match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) in remote_handler() 138 let req = match Request::builder() in remote_handler() localVariable 144 Ok(req) => req, in remote_handler() 148 let _resp = match Client::new().request(req).await { in remote_handler()
|
| /webrtc/turn/src/proto/reqtrans/ |
| H A D | reqtrans_test.rs | 42 let mut req = RequestedTransport { in test_requested_transport_add_to() localVariable 45 req.get_from(&decoded)?; in test_requested_transport_add_to() 46 assert_eq!(req, r, "Decoded {req}, expected {r}"); in test_requested_transport_add_to()
|
| /webrtc/turn/src/proto/reqfamily/ |
| H A D | reqfamily_test.rs | 41 let mut req = RequestedAddressFamily::default(); in test_requested_address_family_add_to() localVariable 42 req.get_from(&decoded)?; in test_requested_address_family_add_to() 43 assert_eq!(req, r, "Decoded {req}, expected {r}"); in test_requested_address_family_add_to()
|
| /webrtc/examples/examples/signal/src/ |
| H A D | lib.rs | 21 async fn remote_handler(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in remote_handler() 22 match (req.method(), req.uri().path()) { in remote_handler() 26 let sdp_str = match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) in remote_handler()
|
| /webrtc/dtls/examples/certificates/ |
| H A D | README.md | 15 $ openssl req -key "${SERVER_NAME}.pem" -new -sha256 -subj '/C=NL' -out "${SERVER_NAME}.csr" 16 $ openssl x509 -req -in "${SERVER_NAME}.csr" -extfile "${EXTFILE}" -days 365 -signkey "${SERVER_NAM… 21 $ openssl req -key "${CLIENT_NAME}.pem" -new -sha256 -subj '/C=NL' -out "${CLIENT_NAME}.csr" 22 $ openssl x509 -req -in "${CLIENT_NAME}.csr" -extfile "${EXTFILE}" -days 365 -CA "${SERVER_NAME}.pu…
|
| /webrtc/examples/examples/ice-restart/ |
| H A D | ice-restart.rs | 54 async fn remote_handler(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in remote_handler() 55 match (req.method(), req.uri().path()) { in remote_handler() 58 (&Method::POST, "/doSignaling") => do_signaling(req).await, in remote_handler() 71 async fn do_signaling(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in do_signaling() 142 let sdp_str = match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) { in do_signaling()
|
| /webrtc/examples/examples/play-from-disk-renegotiation/ |
| H A D | play-from-disk-renegotiation.rs | 64 async fn remote_handler(req: Request<Body>) -> Result<Response<Body>, hyper::Error> { in remote_handler() 70 match (req.method(), req.uri().path()) { in remote_handler() 73 (&Method::POST, "/createPeerConnection") => create_peer_connection(&pc, req).await, in remote_handler() 75 (&Method::POST, "/addVideo") => add_video(&pc, req).await, in remote_handler() 77 (&Method::POST, "/removeVideo") => remove_video(&pc, req).await, in remote_handler() 92 req: Request<Body>, in do_signaling() 94 let sdp_str = match std::str::from_utf8(&hyper::body::to_bytes(req.into_body()).await?) { in do_signaling()
|