Permalink
Browse files

Update README.md

  • Loading branch information...
michaeled committed Sep 23, 2017
1 parent 7680648 commit 5192b7f1b71bd7c4ba9cfdb8116ca15a8494f39b
Showing with 3 additions and 3 deletions.
  1. +3 −3 README.md
View
@@ -40,11 +40,11 @@ UI Sleuth is a Xamarin.Forms debugging tool. If you’ve ever made a web site, i
## Overview
UI Sleuth is composed of two components: the desktop client and the design server. The desktop client communicates with your mobile app via WebSockets and a simple JSON protocol. Once you understand that, you know that the desktop client and the mobile app aren't irrevocably tied together.
UI Sleuth is composed of two components: the desktop client and the design server. The desktop client communicates with your mobile app via WebSockets and a simple JSON protocol. The .NET library that you reference in your Xamarin.Forms application is a WebSocket server and workflow engine.
The library that you add to your Xamarin.Forms application is a workflow engine. It's implemented using a `BlockingCollection` that dispatches incoming messages to listeners, called `Reaction`s. Incoming message types are directly associated to a reaction. When the corresponding reaction is determined, its instantiated and invoked. The implementing reaction can read the incoming message, take an action, and return a response to the client.
The workflow engine is implemented using a `BlockingCollection` that dispatches incoming messages to listeners, called `Reaction`s. Once a request has been received, its serialized into the appropriate .NET type. Each request type is associated with a reaction. When the corresponding reaction is determined, its instantiated and invoked. The implementing reaction can read the incoming message, perform some behavior, and return a response to the client.
As an example, the code following is used to respond to a screenshot request from the desktop client.
As an example, the following code is used to respond to a screenshot request from the desktop client.
### 1) Define the request and response types (server code)

0 comments on commit 5192b7f

Please sign in to comment.