1
0
Fork 0
mirror of https://github.com/puma/puma.git synced 2022-11-09 13:48:40 -05:00
puma--puma/ext/puma_http11/PumaHttp11Service.java

18 lines
431 B
Java
Raw Normal View History

package puma;
import java.io.IOException;
import org.jruby.Ruby;
import org.jruby.runtime.load.BasicLibraryService;
import org.jruby.puma.Http11;
2012-08-23 19:56:37 -04:00
import org.jruby.puma.MiniSSL;
public class PumaHttp11Service implements BasicLibraryService {
public boolean basicLoad(final Ruby runtime) throws IOException {
Http11.createHttp11(runtime);
2012-08-23 19:56:37 -04:00
MiniSSL.createMiniSSL(runtime);
return true;
}
}