init bruv

This commit is contained in:
2026-04-13 07:12:19 +02:00
commit 458dc9f0b0
7 changed files with 1650 additions and 0 deletions

20
src/main.rs Normal file
View File

@@ -0,0 +1,20 @@
use client::{stream_list::v3_data_live_chat_message_service_client::V3DataLiveChatMessageServiceClient};
use tonic::transport::Channel;
mod client;
#[tokio::main]
async fn main() -> Result<(), Box<dyn std::error::Error>> {
let channel = Channel::from_static("dns:///youtube.googleapis.com:443");
let mut client = V3DataLiveChatMessageServiceClient::connect("http://[::1]:50051").await?;
// let request = tonic::Request::new(LiveChatMessageListRequest {
// name: "Tonic".into(),
// });
// let response = client.say_hello(request).await?;
// println!("RESPONSE={:?}", response);
Ok(())
}