mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
6f5017d6b5
... to match up JRuby's ext with the C ext
19 lines
505 B
Java
19 lines
505 B
Java
package puma;
|
|
|
|
import java.io.IOException;
|
|
|
|
import org.jruby.Ruby;
|
|
import org.jruby.runtime.load.BasicLibraryService;
|
|
|
|
import org.jruby.puma.Http11;
|
|
import org.jruby.puma.IOBuffer;
|
|
import org.jruby.puma.MiniSSL;
|
|
|
|
public class PumaHttp11Service implements BasicLibraryService {
|
|
public boolean basicLoad(final Ruby runtime) throws IOException {
|
|
Http11.createHttp11(runtime);
|
|
IOBuffer.createIOBuffer(runtime);
|
|
MiniSSL.createMiniSSL(runtime);
|
|
return true;
|
|
}
|
|
}
|