OCaml client for the LinkedIn Voyager API
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix(lint): resolve E410, E331, E615, E617 across conpool, cookeio, cpio, crow

- E410: Fix doc comment style (add [name args] format, end with periods)
- E331: Apply redundant prefix renames (make→v, create→v, create_basic→basic,
get_cookies→cookies, get_all_cookies→all_cookies, make_header→header,
make_cookie_header→cookie_header, make_set_cookie_header→set_cookie_header)
- E615: Include test_target, test_campaign, test_afl, test_scheduler in crow test.ml
- E617: Lowercase test suite name in conpool test_connection.ml
- Update all callers across tests, fuzz, README, and dependent packages

+2 -2
+2 -2
lib/api.ml
··· 34 34 if n >= 2 && s.[0] = '"' && s.[n - 1] = '"' then String.sub s 1 (n - 2) else s 35 35 36 36 let make_cookie ~now ~name ~value = 37 - Cookeio.make ~domain:"linkedin.com" ~path:"/" ~name ~value ~secure:true 37 + Cookeio.v ~domain:"linkedin.com" ~path:"/" ~name ~value ~secure:true 38 38 ~http_only:true ~creation_time:now ~last_access:now () 39 39 40 40 let v ~sw env ~li_at ~jsessionid = ··· 78 78 let get t path = 79 79 try 80 80 let jar = Requests.cookies t.session in 81 - let all = Cookeio_jar.get_all_cookies jar in 81 + let all = Cookeio_jar.all_cookies jar in 82 82 let summary = 83 83 List.map 84 84 (fun c ->