new Server(inPort, inDelegate)
Web and Websockets REST server for node.
Listens for HTTP and WS requests and dispatches to REST handlers or files.
Parameters:
| Name | Type | Description |
|---|---|---|
inPort |
integer | port number on which to listen |
inDelegate |
object | delegate to resolve REST requests |
- Source:
Methods
-
onHTTPRequest(inRequest, outResponse, inRequestURL, inRequestParams)
-
Called on receipt of an HTTP request. Calls the REST dispatcher to try and resolve the request against our delegate. If the resolution succeeds, the handler is called and the response assumed to be JSON. If the resolution fails, we attempt to serve a file with the appropriate path.
Parameters:
Name Type Description inRequest
object HTTP request outResponse
object HTTP response inRequestURL
object parsed URL inRequestParams
object parsed request parameters - Source:
-
onWSMessage(inMessage, inWebSocket)
-
Called on receipt of a WebSockets message. Calls the REST dispatcher to try and resolve the request against our delegate. If the resolution succeeds, the handler is called and the response assumed to be JSON. If the resolution fails, we attempt to serve a file with the appropriate path.
Parameters:
Name Type Description inMessage
object WebSockets message inWebSocket
object the WebSocket on which the message arrived - Source:
-
sendFile(inPathName, outResponse)
-
Send a file with the specified pathname to the specified response. Called when REST dispatch fails. If the file cannot be found or another error occurs, a 404 file not found response is sent.
Parameters:
Name Type Description inPathName
string path of file outResponse
object HTTP response - Source:
-
stop()
-
Stop serving requests.
- Source:


Includes both parts for the assignment. Part 1 is a class schedule for my 2021 spring semester using a table format. Part 2 is the foundation / early stages for an online order form for a car rental store.
PHP assignment 2. Taking a 2D array of an item collection and displaying in based on certain criteria. Various parts require parts to display name, type, price, quantity, and revenue. Different parts list how the items are being displayed.
PHP assignment 3. The purpose of this assignment is to learn how to use a PHP script to process FORM data. PHP accepts POST form data from an HTML form.
PHP assignment 4. HTML form utlizing PHP code. Functionality implemented to generate a price based on variables in the PHP code and values passed from the HTML form using GET/POST.
SQL assignment 5. Write various SQL commands to output data from the SQL database.
PHP/SQL assignment 6.
PHP/SQL assignment 8.
PHP/SQL assignment 9.


FC-LIST
Section: (1)Updated: Aug 13, 2008
Index Return to Main Contents
NAME
fc-list - list available fontsSYNOPSIS
fc-list [ -vVh ] [ --verbose ] [ [ -f format ] [ --format format ] ] [ --version ] [ --help ]
DESCRIPTION
fc-list lists fonts and styles available on the system for applications using fontconfig. If any elements are specified, only those are printed. Otherwise family and style are printed, unless verbose output is requested.
OPTIONS
This program follows the usual GNU command line syntax, with long options starting with two dashes (`-'). A summary of options is included below.
- -v
- Print verbose output of the whole font pattern for each match, or elements if any is provided.
- -f
- Format output according to the format specifier format.
- -V
- Show version of the program and exit.
- -h
- Show summary of options.
- pattern
- If this argument is set, only fonts matching pattern are displayed.
- element
- If set, the element property is displayed for matching fonts.
EXAMPLES
- fc-list
- Lists all font faces.
- fc-list :lang=hi
- Lists font faces that cover Hindi.
- fc-list : family style file spacing
- Lists the filename and spacing value for each font face. ``:'' is an empty pattern that matches all fonts.
SEE ALSO
fc-match(1) FcFontList(3) FcPatternFormat(3) fc-cat(1) fc-cache(1) fc-query(1) fc-scan(1)
The fontconfig user's guide, in HTML format: /usr/share/doc/fontconfig/fontconfig-user.html.
AUTHOR
This manual page was written by Keith Packard<EMAIL_ADDRESS>and Josselin Mouette<EMAIL_ADDRESS>Index
This document was created by man2html, using the manual pages.
Time: 05:29:03 GMT, December 24, 2015