-
Notifications
You must be signed in to change notification settings - Fork 22
Development
Rich5 edited this page Sep 25, 2015
·
5 revisions
There is really nothing very advanced about how Harness imports modules across the wire. The basic protocol is as follows:
- Client sends a
<rf>
tag to indicate that a module is about to be sent - Server receives tag and starts accumulating the following bytes received as a single script. This is basically automating the process as if the user were manually typing in an entire script.
- The client then opens the local ps1 file and sends it as a byte stream to the server.
- Once the transfer is complete the client then sends a closing
</rf>
tag to the server to indicate it's ok to process the script