Skip to content

Commit

Permalink
fixed response types (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
srennen authored Aug 11, 2022
1 parent d1b5d38 commit 2647be4
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,22 +7,22 @@ public partial class CodeMashServerEventsService
{
public void SendMessage(SendSseMessageRequest request)
{
Client.Post<SendSseMessageRequest>(request);
Client.Post<object>(request);
}

public async Task SendMessageAsync(SendSseMessageRequest request)
{
await Client.PostAsync<RegisterUserResponse>(request);
await Client.PostAsync<object>(request);
}

public void ReadMessages(ReadSseMessagesRequest request)
{
Client.Post<ReadSseMessagesRequest>(request);
Client.Post<object>(request);
}

public async Task ReadMessagesAsync(ReadSseMessagesRequest request)
{
await Client.PostAsync<ReadSseMessagesRequest>(request);
await Client.PostAsync<object>(request);
}

public GetSseMessagesResponse GetMessages(GetSseMessagesRequest request)
Expand Down

0 comments on commit 2647be4

Please sign in to comment.