SMRUCC bioinformatics data cloud services platform framework
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
HTTP_SERVER
Restarter
WebCloud
httpd
javascript
.gitignore
LICENSE
README.md
httpd.md
httpd.sln
nuget.sln
server.sln

README.md

SMRUCC/SMRUCC.WebCloud

SMRUCC web cloud application platform.

This cloud engine power these projects:

This product includes:

  • SMRUCC.WebCloud.HTTPInternal - A framework for develop the WebApp
  • SMRUCC.WebCloud.GIS - GIS database services for build web app that may associate with the Geographic Information likes the population genetics data.
  • SMRUCC.WebCloud.d3js - d3js extensions for VisualBasic data system
  • SMRUCC.WebCloud.Mail - Mail office automation
  • SMRUCC.WebCloud.DataCenter - SMRUCC.WebCloud system database schema
Runtime

Require of sciBASIC runtime

PM> Install-Package sciBASIC -Pre

Or reference to source code project:

https://github.com/xieguigang/sciBASIC


httpd [version 1.0.0.0]

SMRUCC.REST.CLI

httpd: SMRUCC web cloud application platform
httpd: SMRUCC web cloud application platform
Copyright © R&D, SMRUCC 2016. All rights reserved.

Module AssemblyName: file:///G:/GCModeller/src/runtime/httpd/HTTP_SERVER/demo/bin/httpd.exe
Root namespace: SMRUCC.REST.CLI

All of the command that available in this program has been list below:

Generic function API list
Function API Info
/GET Tools for http get request the content of a specific url.
1. httpdServerCLI

Server CLI for running this httpd web server.

Function API Info
/run Run start the web server with specific Web App.
/start Run start the httpd web server.

CLI API list


1. /GET

Tools for http get request the content of a specific url. Prototype: SMRUCC.REST.CLI::Int32 GET(args As Microsoft.VisualBasic.CommandLine.CommandLine)

Usage
httpd /GET /url [<url>/std_in] [/out <file/std_out>]

Arguments

/url

The resource URL on the web.

Example
/url <file/directory>
# (This argument can accept the std_out from upstream app as input)
[/out]

The save location of your requested data file.

Example
/out <file/directory>
# (This argument can output data to std_out)
Accepted Types
/url

Decalre: System.String Example:

"System.String"
/out

Decalre: System.String Example:

"System.String"

2. /run

Run start the web server with specific Web App. Prototype: SMRUCC.REST.CLI::Int32 RunApp(args As Microsoft.VisualBasic.CommandLine.CommandLine)

Usage
httpd /run /dll <app.dll> [/port <80> /root <wwwroot_DIR>]

3. /start

Run start the httpd web server. Prototype: SMRUCC.REST.CLI::Int32 Start(args As Microsoft.VisualBasic.CommandLine.CommandLine)

Usage
httpd /start [/port 80 /root <wwwroot_DIR> /threads -1 /cache]

Arguments

[/port]

The server port of this httpd web server to listen.

Example
/port <int32>
[/root]

The website html root directory path.

Example
/root <file/directory>
# (This argument can accept the std_out from upstream app as input)
[/threads]

The number of threads of the server thread pool.

Example
/threads <int32>
[/cache]

Is this server running in file system cache mode? Not recommended for open.

Example
/cache
#(bool flag does not require of argument value)
Accepted Types
/port

Decalre: System.Int32 Example:

0
/root

Decalre: System.String Example:

"System.String"
/threads

Decalre: System.Int32 Example:

0
/cache

Decalre: System.Boolean Example:

true