// AuxRequest writes a '351 Aux Request' message.
AuxRequest writes a '351 Aux Request' message.
// AuxRequest writes a ' 351 Aux Request ' message .
func (mw *MessageWriter) AuxRequest(uri, auxURI, descShort, descLong string, maximumSize uint64, usedMirror bool) {
	fmt.Fprintf(mw.w, "351 Aux Request\nURI: %s\n", uri)
	if auxURI != "" {
		fmt.Fprintf(mw.w, "Aux-URI: %s\n", auxURI)
	}
	if maximumSize > 0 {
		fmt.Fprintf(mw.w, "MaximumSize: %d\n", maximumSize)
	}
	if descShort != "" {
		fmt.Fprintf(mw.w, "Aux-ShortDesc: %s\n", descShort)
	}
	if descLong != "" {
		fmt.Fprintf(mw.w, "Aux-Description: %s\n", descLong)
	}
	if usedMirror {
		mw.w.Write([]byte("UsedMirror: true\n"))
	}
	mw.w.Write([]byte("\n"))
}
func ( mw * MessageWriter ) AuxRequest ( uri , auxURI , descShort , descLong string , maximumSize uint64 , usedMirror bool ) { fmt . Fprintf ( mw . w , " \n \n " , uri ) if auxURI != " " { fmt . Fprintf ( mw . w , " \n " , auxURI ) } if maximumSize > 0 { fmt . Fprintf ( mw . w , " \n " , maximumSize ) } if descShort != " " { fmt . Fprintf ( mw . w , " \n " , descShort ) } if descLong != " " { fmt . Fprintf ( mw . w , " \n " , descLong ) } if usedMirror { mw . w . Write ( [ ] byte ( " \n " ) ) } mw . w . Write ( [ ] byte ( " \n " ) ) }
AuxRequest writes a '351 Aux Request' message.
AuxRequest writes a ' 351 Aux Request ' message .