File: webdav.rbs

package info (click to toggle)
ruby-httpx 1.7.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 1,816 kB
  • sloc: ruby: 12,209; makefile: 4
file content (23 lines) | stat: -rw-r--r-- 689 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
module HTTPX
  module Plugins
    module WebDav
      module InstanceMethods
        def copy: (String src, String dst) -> (Response | ErrorResponse)

        def move: (String src, String dst) -> (Response | ErrorResponse)

        def lock: (String path, ?timeout: Numeric) ?{ (Response response) -> void } -> (Response | ErrorResponse)

        def unlock: (String path, String? lock_token) -> (Response | ErrorResponse)

        def mkcol: (String dir) -> Response

        def propfind: (String path, ?(:acl | String) xml) -> Response

        def proppatch: (String path, String xml) -> Response
      end
    end

    type sessionWebDav = Session & WebDav::InstanceMethods
  end
end