'Builds a single GOAWAY frame.'

def buildGoAwayFrame(self, lastStreamID, errorCode=0, additionalData=''):

    f = hyperframe.frame.GoAwayFrame(0)
    f.error_code = errorCode
    f.last_stream_id = lastStreamID
    f.additional_data = additionalData
    return f
