blob: f56427c28657d3017adc129875b459f01a4c97f5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
module WEBrick
module HTTPServlet
class CGIHandler < AbstractServlet
@script_filename: String
@tempdir: String?
@cgicmd: Array[String] | String
Ruby: String
CGIRunner: String
CGIRunnerArray: [String, String]
def initialize: (HTTPServer server, String name) -> void
def do_GET: (HTTPRequest req, HTTPResponse res) -> void
alias do_POST do_GET
end
end
end
|