vbmithr / ocaml-websocket

Websocket library for OCaml
ISC License
162 stars 44 forks source link

OPAM package does not install websocket.cmi #42

Closed darioteixeira closed 8 years ago

darioteixeira commented 8 years ago

(Websocket version 2.1)

darioteixeira commented 8 years ago

Btw, the cmt file is also missing.

vbmithr commented 8 years ago

Yeah, this is normal, it is because Websocket is an internal module, you should only interact with Websocket_lwt.

Is there any reason why you'd want those files ?

darioteixeira commented 8 years ago

I tried to compile an old project with modern OCaml-websocket, and it failed upon trying open Websocket. I reckon the API has changed in the meantime. Anyway, with open Websocket and a few extra tweaks it works now!

vbmithr commented 8 years ago

Strange because now, you should open Websocket_lwt, not Websocket.

darioteixeira commented 8 years ago

Sorry, I meant open Websocket_lwt, of course!