NuHTTPController
Superclass: NSObject
Declared in: nu/server.nu
The controller for HTTP service. The controller owns an instance of an
NuHTTPServer, which sends HTTP requests to the controller's processRequest:
method for processing.
Methods
| - |
(id) |
getMIMETypeFromPathName: |
(id) pathName |
Guess the MIME type from the file extension of the requested file.
in nu/server.nu
| - |
(id) |
initWithPort: |
(int) port |
Create a controller and server to begin serving the specified port.
in nu/server.nu
| - |
(void) |
processRequest: |
(id) request |
Process a request passed in from the server in a dictionary.
in nu/server.nu