forked from cztomczak/cefpython
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcef_urlrequest.pxd
More file actions
28 lines (24 loc) · 1.02 KB
/
cef_urlrequest.pxd
File metadata and controls
28 lines (24 loc) · 1.02 KB
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
27
28
# Copyright (c) 2013 CEF Python, see the Authors file.
# All rights reserved. Licensed under BSD 3-clause license.
# Project website: https://github.com/cztomczak/cefpython
from cef_ptr cimport CefRefPtr
cimport cef_types
from cef_request cimport CefRequest
from cef_response cimport CefResponse
# noinspection PyUnresolvedReferences
from cef_request_context cimport CefRequestContext
cdef extern from "include/cef_urlrequest.h":
cdef CefRefPtr[CefURLRequest] CefURLRequest_Create \
"CefURLRequest::Create"(
CefRefPtr[CefRequest] request,
CefRefPtr[CefURLRequestClient] client,
CefRefPtr[CefRequestContext])
cdef cppclass CefURLRequest:
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:
pass