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