-
Notifications
You must be signed in to change notification settings - Fork 564
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
51cbc60
commit 9ba0810
Showing
2 changed files
with
36 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
layout: page | ||
title: HttpServer Tool | ||
menu_title: HttpServer Tool | ||
type: tutorial | ||
weight: 15 | ||
--- | ||
|
||
QuickFIX/n provides a simple HttpServer that can be used to observe | ||
and manage certain aspects of the Sessions as defined in your settings file. | ||
|
||
**Warning:** *Use at your own risk. This might be better considered as a | ||
demo or educational tool. We don't recommend using it as a management | ||
tool for a production system.* | ||
|
||
It is simple to create and run: | ||
|
||
``` | ||
# This should be in the same block that | ||
# instantiates & starts your initiator or acceptor | ||
HttpServer srv = new HttpServer( | ||
"http://127.0.0.1:5080", sessionSettings); | ||
srv.Start(); | ||
``` | ||
|
||
By pointing a browser to the site that it publishes, | ||
you can observe your sessions, examine current | ||
sequence numbers and logon status, | ||
and review/toggle/adjust many session settings. | ||
|
||
For an example of an app that uses it, see the "Executor" project in the Examples folder. | ||
|