2012-01-15 18:04:01 -06:00
|
|
|
package puma;
|
|
|
|
|
2007-10-26 03:07:30 +00:00
|
|
|
import java.io.IOException;
|
|
|
|
|
|
|
|
import org.jruby.Ruby;
|
|
|
|
import org.jruby.runtime.load.BasicLibraryService;
|
|
|
|
|
2011-11-22 13:43:54 -06:00
|
|
|
import org.jruby.puma.Http11;
|
2012-08-23 16:56:37 -07:00
|
|
|
import org.jruby.puma.MiniSSL;
|
2007-10-26 03:07:30 +00:00
|
|
|
|
2011-11-22 13:43:54 -06:00
|
|
|
public class PumaHttp11Service implements BasicLibraryService {
|
2007-10-26 03:07:30 +00:00
|
|
|
public boolean basicLoad(final Ruby runtime) throws IOException {
|
|
|
|
Http11.createHttp11(runtime);
|
2012-08-23 16:56:37 -07:00
|
|
|
MiniSSL.createMiniSSL(runtime);
|
2007-10-26 03:07:30 +00:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|