Anonymous user
Web scraping/OCaml: Difference between revisions
m
moved Web Scraping/OCaml to Web scraping/OCaml
(implementation for making http requests in OCaml) |
m (moved Web Scraping/OCaml to Web scraping/OCaml) |
||
(2 intermediate revisions by 2 users not shown) | |||
Line 1:
The content of this page is related to the main page [[Web Scraping#OCaml]]
<lang ocaml>
let init_socket addr port =
let inet_addr = (Unix.gethostbyname addr).Unix.h_addr_list.(0) in
Line 13:
let serialize ~post_data =
String.concat "&"
▲ | (key,var)::[] -> acc ^ (key^"="^var)
;;
Line 134 ⟶ 130:
(cont)
;;
</
|