gevent-socketio Documentation Release 0.3.1
in your framework. Note: you need to use the gevent python WSGI server to use gevent- socketio. Namespaces: since you mostly have one websocket/socket.io endpoint per website, it is important to be able site, just like you need routes to map URLs to different parts of your code. The Socket.IO 0.7+ namespaces are a welcome addition, and if you don’t use Socket.IO, you’ll probably end-up writing your own are stateful (like a Websocket), and exposes the same functionality for all. You can have many namespaces inside a Socket, each delimited by their name like /chat, /filesystem or /foobar. Note also that0 码力 | 91 页 | 118.05 KB | 1 年前3Google C++ Style Guide
LANG_CXX11 7 Scoping Namespaces With few exceptions, place code in a namespace. Namespaces should have unique names based on the project name, and possibly its path. Unnamed namespaces in .cc files are encouraged Do not use inline namespaces. Namespaces subdivide the global scope into distinct, named scopes, and so are useful for preventing name collisions in the global scope. Namespaces provide a method for and code within each project’s namespace can continue to refer to Foo without the prefix. Inline namespaces automatically place their names in the enclosing scope. Con- sider the following snippet, for example:0 码力 | 83 页 | 238.71 KB | 1 年前3SUSE Rancher and RKE Kubernetes cluster using CSI Driver on DELL EMC PowerFlex
Rancher managed Kubernetes cluster through Kubernetes APIs to discover protectable resources such as namespaces and PVCs. PowerProtect Data Manager discovers the Kubernetes clusters using the IP address or complete, the associated namespaces are available as assets for protection. PowerProtect Data Manager protects the following two types of Kubernetes cluster assets - Namespaces and PersistentVolumeClaims PersistentVolumeClaims (PVCs). During the discovery process, PowerProtect Data Manager creates the following namespaces in the cluster: • Velero-ppdm: This namespace contains a Velero pod to backup metadata and stage0 码力 | 45 页 | 3.07 MB | 1 年前3Istio Security Assessment
• /docs/ops/best-practices/security/: This section only provides 2 general recommendations. Use namespaces for isolation (a contentious perspective) and configured third party service account tokens instead "/ ", preventing a need to re-declare essentially the same VirtualService in different namespaces. However, when using this format, no additional validation is performed to ensure that the account it is possible for accounts with access to only specific namespaces to surreptitiously intercept the traffic of applications from other namespaces that they do not otherwise have any access to. Reproduction 0 码力 | 51 页 | 849.66 KB | 1 年前3Scrapy 0.22 Documentation
concepts Scrapy Documentation, Release 0.22.0 itertag = ’product’ namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [(’n’, ’http://www atop lxml, Scrapy selectors also support some EXSLT extensions and come with these pre-registered namespaces to use in XPath expressions: prefix namespace usage re http://exslt.org/regular-expressions regular0 码力 | 199 页 | 926.97 KB | 1 年前3Scrapy 1.6 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', 'http://www • alternate links are stored in a list with the key alternate (see sitemap_alternate_links) • namespaces are removed, so lxml tags named as {namespace}tagname become only tagname If you omit this method0 码力 | 295 页 | 1.18 MB | 1 年前3Scrapy 0.24 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', 'http://www atop lxml, Scrapy selectors also support some EXSLT extensions and come with these pre-registered namespaces to use in XPath expressions: prefix namespace usage re http://exslt.org/regular-expressions regular0 码力 | 222 页 | 988.92 KB | 1 年前3Scrapy 0.22 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', selectors also support some EXSLT [http://www.exslt.org/] extensions and come with these pre-registered namespaces to use in XPath expressions: prefix namespace usage re http://exslt.org/regular-expressions regular0 码力 | 303 页 | 566.66 KB | 1 年前3Scrapy 0.20 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider automatically register namespaces using the register_namespace() method. You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', this Selector. Without registering namespaces you can’t select or extract data from non-standard namespaces. See examples below. remove_namespaces() Remove all namespaces, allowing to traverse the document0 码力 | 276 页 | 564.53 KB | 1 年前3Scrapy 1.8 Documentation
the node (or element) to iterate in. Example: itertag = 'product' namespaces A list of (prefix, uri) tuples which define the namespaces available in that document that will be processed with this spider to automatically register namespaces using the register_namespace() method. 3.2. Spiders 41 Scrapy Documentation, Release 1.8.4 You can then specify nodes with namespaces in the itertag attribute. Example: class YourSpider(XMLFeedSpider): namespaces = [('n', 'http://www.sitemaps.org/schemas/sitemap/0.9')] itertag = 'n:url' # ... Apart from these new attributes, this spider has the following0 码力 | 335 页 | 1.44 MB | 1 年前3
共 1000 条
- 1
- 2
- 3
- 4
- 5
- 6
- 100