  = object
  method createServer : (req  ->  resp  -> unit [@bs] ) ->  server
end [@bs]
type http = _http Js.t
external http : http  = ""  [@@bs.module]
```

---

### FFI (HTTP server)

- Output for `http.ml` is empty (pure type declarations)
- `Test_http_server`

```js
var Pervasives = require("bs-platform/lib/js/pervasives");
var Http       = require("http");

var hostname = "127.0.0.1";

function create_server(http) {
  var server = http.createServer(function (_, resp) {
        resp.statusCode = 200;
  