/// Creates an event with the provided unique ID in the specified channel.
Creates an event with the provided unique ID in the specified channel.
Creates an event with the provided unique ID in the specified channel .
pub async fn create_event(
            &mut self,
            request: impl tonic::IntoRequest<super::CreateEventRequest>,
        ) -> Result<tonic::Response<super::Event>, tonic::Status> {
            self.inner
                .ready()
                .await
                .map_err(|e| {
                    tonic::Status::new(
                        tonic::Code::Unknown,
                        format!("Service was not ready: {}", e.into()),
                    )
                })?;
            let codec = tonic::codec::ProstCodec::default();
            let path = http::uri::PathAndQuery::from_static(
                "/google.cloud.video.livestream.v1.LivestreamService/CreateEvent",
            );
            self.inner.unary(request.into_request(), path, codec).await
        }
pub async fn create_event ( & mut self , request : impl tonic :: IntoRequest < super :: CreateEventRequest > , ) -> Result < tonic :: Response < super :: Event > , tonic :: Status > { self . inner . ready ( ) . await . map_err ( | e | { tonic :: Status :: new ( tonic :: Code :: Unknown , format ! ( " " e into ( ) ) , ) } ) ? ; let codec = tonic :: codec :: ProstCodec :: default ( ) ; let path = http :: uri :: PathAndQuery :: from_static ( " " , ) ; self . inner . unary ( request . into_request ( ) , path , codec ) . await }
Creates an event with the provided unique ID in the specified channel.
Creates an event with the provided unique ID in the specified channel .
&mut self
request
impl tonic::IntoRequest<super::CreateEventRequest>