Hash :
767e55da
Author :
Thomas de Grivel
Date :
2024-08-07T16:14:27
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99
end
22
server = Socket.listen("192.168.1.50
2
server = Socket.listen("192.168.2.50", "58000")
server_client = Socket.Buf.accept(server)
req = HTTP.Request.buf_parse(server_client.buf_rw.r)
%HTTP.Response{}
Struct.offset(%HTTP.Response{}, :message)
Sym.type_size(Str)
Struct.offset(%HTTP.Response{}, :message)
res = %HTTP.Response{}
res.message
Sym.type_size(Str)
Sym.type_size(HTTP.Response)
Struct.offset(%HTTP.Response{}, :message)
Sym.type_size(Str)
Struct.offset(%HTTP.Response{}, :code)
Struct.offset(%HTTP.Response{}, :message)
Struct.offset(%HTTP.Response{}, :response)
Struct.offset(%HTTP.Response{}, :protocol)
Struct.offset(%HTTP.Response{}, :code)
Struct.offset(%HTTP.Response{}, :message)
Struct.offset(%HTTP.Response{}, :headers)
Struct.offset(%HTTP.Response{}, :body)
Struct.offset(%HTTP.Response{}, :message)
Struct.offset(%HTTP.Response{}, :protocol)
Struct.offset(%HTTP.Response{}, :code)
Struct.offset(%HTTP.Response{}, :message)
Struct.offset(%HTTP.Response{}, :headers)
Struct.offset(%HTTP.Response{}, :body)
Struct.offset(%HTTP.Request{}, :method)
Struct.offset(%HTTP.Request{}, :url)
Struct.offset(%HTTP.Request{}, :protocol)
Struct.offset(%HTTP.Request{}, :headers)
Struct.offset(%HTTP.Response{}, :message)
Struct.offset(%HTTP.Request{}, :method)
Struct.offset(%HTTP.Request{}, :url)
Struct.offset(%HTTP.Request{}, :protocol)
Struct.offset(%HTTP.Request{}, :headers)
Struct.offset(%HTTP.Response{}, :protocol)
Struct.offset(%HTTP.Response{}, :code)
Struct.offset(%HTTP.Response{}, :message)
Struct.offset(%HTTP.Response{}, :headers)
Struct.offset(%HTTP.Response{}, :body)
"a#{a}"
quote "a#{a}"
"a#{a}"
"a#{:a}"
quote "a#{:a}"
quote "a#{%KC3.Operator{}}"
quote "a#{%KC3.Operator{sym: :-}}"
type(18446744073709551615)
18446744073709551615
type(4294967296)
type( -2147483648)
type(4294967296)
type(-9223372036854775808)
File.exists?("env")
File.exists?("env4")
File.exists?("lib/kc3/0.1/file.kc3")
File.stat("env")
File.stat("env").st_mode
def is_directory? = fn (path) { List.has(File.stat(path).st_mode, :directory) }
File.stat("libkc3").st_mode
List.has
def is_directory? = fn (path) { List.has(File.stat(path).st_mode, :directory) }
List.has
List.has?
is_directory?("env")
def is_directory? = fn (path) { List.has?(File.stat(path).st_mode, :directory) }
is_directory?("env")
is_directory?("libkc3")
def is_directory? = fn (path) { List.has?(File.stat(path).st_mode, :directory) }
File.is_directory?("env")
File.is_directory?("libkc3")
File.is_directory?("plop1234")
File.is_directory?("env")
File.list(lib)
File.list("lib")
File.list("lib/kc3")
File.list("lib/kc3/0.1")
Str.starts_with?("abc", "a")
Str.starts_with?("abc", "b")
Str.ends_with?("abc", "b")
Str.ends_with?("abc", "c")
Str.ends_with?("abc/", "/")
File.read("env")
HTTP.mime_type_load("test/httpd/mime.types")
HTTP.mime_type("txt")
HTTP.mime_type("html")
HTTP.mime_type("zorglub")
HTTP.mime_type_load("test/httpd/mime.types")
HTTP.mime_type("zorglub")
HTTP.mime_type_def(:zorglub, :application/zorglub)
HTTP.mime_type("zorglub")
Str.rindex("abc.def", ".")
Str.rindex_character("abc.def", '.')
File.ext("abc.def")