pull/206/head
Chip Senkbeil 11 months ago
parent 78eab4952e
commit a10920b083
No known key found for this signature in database
GPG Key ID: 35EF1F8EC72A4131

@ -76,7 +76,7 @@ mod tests {
use super::*;
use crate::client::Client;
use crate::common::Request;
use crate::server::ServerCtx;
use crate::server::RequestCtx;
pub struct TestServerHandler;
@ -85,7 +85,7 @@ mod tests {
type Request = String;
type Response = String;
async fn on_request(&self, ctx: ServerCtx<Self::Request, Self::Response>) {
async fn on_request(&self, ctx: RequestCtx<Self::Request, Self::Response>) {
// Echo back what we received
ctx.reply
.send(ctx.request.payload.to_string())

Loading…
Cancel
Save