Table of Contents

Interface IRequestFor<TRes>

Namespace
Xabbo.Messages
Assembly
Xabbo.Common.dll

Provides a method for a request message to check whether a response matches the request.

public interface IRequestFor<TRes> where TRes : IMessage<TRes>

Type Parameters

TRes

The type of the response message.

Methods

MatchResponse(TRes)

Gets whether the response message matches the request message.

bool MatchResponse(TRes msg)

Parameters

msg TRes

The response message to check.

Returns

bool