File: hsts.tld

package info (click to toggle)
lua-http 0.4-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,100 kB
  • sloc: makefile: 60; sh: 16
file content (13 lines) | stat: -rw-r--r-- 348 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
interface hsts_store
	time: () -> (number)
	max_items: number

    clone: (self) -> (hsts_store)
    store: (self, string, {string:string}) -> (boolean)
    remove: (self, string) -> (boolean)
    check: (self, hsts_store) -> (boolean)
    const clean_due: (self) -> (number)
    const clean: (self) -> (boolean)
end

new_store: () -> (hsts_store)