forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcef_urlrequest_cef3.pxd
More file actions
26 lines (22 loc) · 943 Bytes
/
cef_urlrequest_cef3.pxd
File metadata and controls
26 lines (22 loc) · 943 Bytes
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
# Copyright (c) 2012-2014 The CEF Python authors. All rights reserved.
# License: New BSD License.
# Website: http://code.google.com/p/cefpython/
from cef_base cimport CefBase
from cef_ptr cimport CefRefPtr
cimport cef_types
from cef_request_cef3 cimport CefRequest
from cef_response_cef3 cimport CefResponse
cdef extern from "include/cef_urlrequest.h":
cdef CefRefPtr[CefURLRequest] CefURLRequest_Create \
"CefURLRequest::Create"( \
CefRefPtr[CefRequest] request, \
CefRefPtr[CefURLRequestClient] client)
cdef cppclass CefURLRequest(CefBase):
CefRefPtr[CefRequest] GetRequest()
CefRefPtr[CefURLRequestClient] GetClient()
cef_types.cef_urlrequest_status_t GetRequestStatus()
cef_types.cef_errorcode_t GetRequestError()
CefRefPtr[CefResponse] GetResponse()
void Cancel()
cdef cppclass CefURLRequestClient(CefBase):
pass