private TryHandlers ( Request request ) : Reply | ||
request | Request | |
return | Reply |
Reply TryHandlers(Request request)
{
List<string> remainingPath = ConvertPath(request.Path);
foreach (var handler in Handlers)
{
Reply reply = handler.RouteRequest(request, remainingPath);
if (reply != null)
return reply;
}
return null;
}