Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -1272,6 +1272,8 @@ <h4><a name="requests" href="#requests">Request</a> <a href="http://laravel.com/
Request::server('PATH_INFO');
// Determine if the request is the result of an AJAX call
Request::ajax();
// Determine if the request is the result of an PJAX call
Request::pjax();
// Determine if the request is over HTTPS
Request::secure();
// Get the request method
Expand Down
2 changes: 2 additions & 0 deletions index_zh-CN.html
Original file line number Diff line number Diff line change
Expand Up @@ -1276,6 +1276,8 @@ <h4><a name="requests" href="#requests">Request</a> <a href="http://laravel-chin
Request::server('PATH_INFO');
// 判断请求是否是 AJAX 请求
Request::ajax();
// 判断请求是否是 PJAX 请求
Request::pjax();
// 判断请求是否使用 HTTPS
Request::secure();
// 获取请求方法
Expand Down