private void HandleEventBusRequest(TcpRequest request) { Send(request.Socket, new OkResponse().ToString()); var eventBusRequest = JsonConvert.DeserializeObject <EventBusRequest>(request.Body); _crossAppEventBus.ReceiveMessage(eventBusRequest); }
private void HandleEventBusRequest(TcpRequest request) { SendOkResponse(request.Socket); _logger.LogMessage("Handling event bus request"); var eventBusRequest = JsonConvert.DeserializeObject <EventBusRequest>(request.Body); _crossAppEventBus.ReceiveMessage(eventBusRequest); }