mirror of
https://github.com/JKorf/CryptoExchange.Net
synced 2025-08-31 20:51:25 +00:00
Fix response type in websocket queries not interested in the response
This commit is contained in:
parent
dab9a21608
commit
4a9058fc1c
@ -47,7 +47,7 @@ namespace CryptoExchange.Net.Sockets
|
|||||||
/// </summary>
|
/// </summary>
|
||||||
public static MessageMatcher Create<T>(string value)
|
public static MessageMatcher Create<T>(string value)
|
||||||
{
|
{
|
||||||
return new MessageMatcher(new MessageHandlerLink<T>(MessageLinkType.Full, value, (con, msg) => CallResult.SuccessResult));
|
return new MessageMatcher(new MessageHandlerLink<T>(MessageLinkType.Full, value, (con, msg) => new CallResult<T>(default, msg.OriginalData, null)));
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user