mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-04 14:01:22 +08:00
Deployed b04e21b with MkDocs version: 1.0.4
This commit is contained in:
30
api.rst
Normal file
30
api.rst
Normal file
@@ -0,0 +1,30 @@
|
||||
.. _api:
|
||||
|
||||
Developer Interface
|
||||
===================
|
||||
|
||||
.. module:: httprunner
|
||||
|
||||
This part of the documentation covers all the interfaces of HttpRunner.
|
||||
|
||||
|
||||
Main Interface
|
||||
--------------
|
||||
|
||||
All of HttpRunner' functionality can be accessed by these 7 methods.
|
||||
They all return an instance of the :class:`Response <Response>` object.
|
||||
|
||||
.. autofunction:: request
|
||||
|
||||
Exceptions
|
||||
----------
|
||||
|
||||
.. autoexception:: httprunner.exceptions.ValidationFailure
|
||||
.. autoexception:: requests.ConnectionError
|
||||
.. autoexception:: requests.HTTPError
|
||||
.. autoexception:: requests.URLRequired
|
||||
.. autoexception:: requests.TooManyRedirects
|
||||
.. autoexception:: requests.ConnectTimeout
|
||||
.. autoexception:: requests.ReadTimeout
|
||||
.. autoexception:: requests.Timeout
|
||||
|
||||
Reference in New Issue
Block a user