projects
/
mdref
/
mdref-http
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
|
github
history
|
raw
|
HEAD
2.2.0
[mdref/mdref-http]
/
http
/
Message
/
setType.md
1
# http\Message http\Message::setType(int $type)
2
3
Set the message type and reset the message info.
4
See http\Message::getType() and http\Message::setInfo().
5
6
## Params:
7
8
* int $type
9
The desired message type. See the http\Message::TYPE_* constants.
10
11
## Returns:
12
13
* http\Message, self.